mirror of
https://github.com/gabehf/nvim-conf.git
synced 2026-03-11 16:30:30 -07:00
14 lines
534 B
Lua
14 lines
534 B
Lua
return {
|
|
"numToStr/Comment.nvim",
|
|
keys = {
|
|
{ "gcc", mode = "n", desc = "Comment toggle current line" },
|
|
{ "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" },
|
|
{ "gc", mode = "x", desc = "Comment toggle linewise (visual)" },
|
|
{ "gbc", mode = "n", desc = "Comment toggle current block" },
|
|
{ "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" },
|
|
{ "gb", mode = "x", desc = "Comment toggle blockwise (visual)" },
|
|
},
|
|
config = function(_, opts)
|
|
require("Comment").setup(opts)
|
|
end,
|
|
}
|