Files
nvim/lua/plugins/comment.lua
2024-08-21 22:20:18 +02:00

16 lines
399 B
Lua

return {
'terrortylor/nvim-comment',
lazy = false,
config = function()
require('nvim_comment').setup({
hook = function()
require('ts_context_commentstring.internal').update_commentstring()
end,
})
end,
dependencies = {
-- To customize commentstring for e.g. svelte files, as the commentstring is depending on cursor position
'JoosepAlviste/nvim-ts-context-commentstring'
}
}