parent
f2c3ed0e7d
commit
5f23aaf1ca
|
@ -113,7 +113,7 @@ M.comment = {
|
||||||
n = {
|
n = {
|
||||||
["<leader>/"] = {
|
["<leader>/"] = {
|
||||||
function()
|
function()
|
||||||
require("Comment.api").toggle_current_linewise()
|
require("Comment.api").toggle.linewise.current()
|
||||||
end,
|
end,
|
||||||
"toggle comment",
|
"toggle comment",
|
||||||
},
|
},
|
||||||
|
@ -121,7 +121,7 @@ M.comment = {
|
||||||
|
|
||||||
v = {
|
v = {
|
||||||
["<leader>/"] = {
|
["<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",
|
"toggle comment",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue