From b8755524a829b1fccad37ca57e83769bd5b93ad4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 20 Aug 2022 01:15:29 +0200 Subject: Update which-key with new comment api --- fnl/config/which-key.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl/config') 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 ["lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})" "Switch buffers"] :l lsp - :n ["lua require('Comment.api').toggle_current_linewise()" + :n ["lua require('Comment.api').toggle.linewise.current()" :Comment] :o org :p packer @@ -154,7 +154,7 @@ :noremap true :nowait true}) -(def- vmappings {:n ["lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())" +(def- vmappings {:n ["lua require('Comment.api').toggle.linewise(vim.fn.visualmode())" :Comment]}) (let [which-key (util.load-plugin :which-key)] -- cgit v1.2.3-70-g09d2