summaryrefslogtreecommitdiff
path: root/lua/lvim/core/which-key.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-11-29 09:12:13 +0100
committerGitHub <[email protected]>2021-11-29 09:12:13 +0100
commit8641c38c862d3e9818791673a9366831b81ff603 (patch)
treec6254b89ccbd1d1d56593f80ec6bf4a0deaec9d4 /lua/lvim/core/which-key.lua
parent3a2367b7065f617cf47278912475a517981ec248 (diff)
fix(nvimtree): update settings (#2001)
Diffstat (limited to 'lua/lvim/core/which-key.lua')
-rw-r--r--lua/lvim/core/which-key.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lvim/core/which-key.lua b/lua/lvim/core/which-key.lua
index 7bb0f00e..88af028f 100644
--- a/lua/lvim/core/which-key.lua
+++ b/lua/lvim/core/which-key.lua
@@ -61,7 +61,7 @@ M.config = function()
-- NOTE: Prefer using : over <cmd> as the latter avoids going back in normal-mode.
-- see https://neovim.io/doc/user/map.html#:map-cmd
vmappings = {
- ["/"] = { "<ESC><CMD>lua ___comment_gc(vim.fn.visualmode())<CR>", "Comment" },
+ ["/"] = { "<ESC><CMD>lua require('Comment.api').gc(vim.fn.visualmode())<CR>", "Comment" },
},
mappings = {
["w"] = { "<cmd>w!<CR>", "Save" },