2023-08-19 17:22:56 +00:00
|
|
|
return {
|
|
|
|
"numToStr/Comment.nvim",
|
2023-08-21 17:19:37 +00:00
|
|
|
keys = {
|
2024-01-22 14:04:33 +00:00
|
|
|
{
|
|
|
|
"<C-/>",
|
|
|
|
"<cmd>lua require('Comment.api').toggle.linewise.current()<cr>",
|
|
|
|
desc = "Toggle comment",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"<C-/>",
|
|
|
|
"<esc><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<cr>",
|
|
|
|
mode = "v",
|
|
|
|
desc = "Toggle comment",
|
|
|
|
},
|
2023-08-21 17:19:37 +00:00
|
|
|
},
|
2023-08-20 22:09:00 +00:00
|
|
|
config = true,
|
2023-08-19 17:22:56 +00:00
|
|
|
opts = {
|
|
|
|
mappings = {
|
|
|
|
basic = false,
|
|
|
|
extra = false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|