dotfiles/nvim/lua/themystery/plugins/comments.lua
2024-01-20 00:57:17 +04:00

18 lines
502 B
Lua

return {
"numToStr/Comment.nvim",
config = function()
require('Comment').setup({
toggler = {
-- if you're using other terminals use '<C-_>' but for some reason in kitty this didn't work, so i used '<C-/>'
line = '<C-/>',
block = '<C-\\>',
},
opleader = {
-- look at the comment above
line = '<C-/>',
block = '<C-\\>',
},
})
end
}