diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-08-20 01:15:29 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-08-20 01:15:29 +0200 |
commit | b8755524a829b1fccad37ca57e83769bd5b93ad4 (patch) | |
tree | 2426c85d8099857e5d2684b6e7c442c1dc7ba4fe /fnl/config/which-key.fnl | |
parent | a8c9137cfbfdacd05abe8ce964dedb0e7bfcd9ae (diff) |
Update which-key with new comment api
Diffstat (limited to 'fnl/config/which-key.fnl')
-rw-r--r-- | fnl/config/which-key.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 5235f27..9182591 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -137,7 +137,7 @@ :i ["<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})<cr>" "Switch buffers"] :l lsp - :n ["<cmd>lua require('Comment.api').toggle_current_linewise()<CR>" + :n ["<cmd>lua require('Comment.api').toggle.linewise.current()<CR>" :Comment] :o org :p packer @@ -154,7 +154,7 @@ :noremap true :nowait true}) -(def- vmappings {:n ["<ESC><CMD>lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())<CR>" +(def- vmappings {:n ["<ESC><CMD>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<CR>" :Comment]}) (let [which-key (util.load-plugin :which-key)] |