parent
f2c3ed0e7d
commit
5f23aaf1ca
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ M.comment = {
|
|||
n = {
|
||||
["<leader>/"] = {
|
||||
function()
|
||||
require("Comment.api").toggle_current_linewise()
|
||||
require("Comment.api").toggle.linewise.current()
|
||||
end,
|
||||
"toggle comment",
|
||||
},
|
||||
|
@ -121,7 +121,7 @@ M.comment = {
|
|||
|
||||
v = {
|
||||
["<leader>/"] = {
|
||||
"<ESC><cmd>lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())<CR>",
|
||||
"<ESC><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<CR>",
|
||||
"toggle comment",
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue