zaneyos-modified/config/nvim/plugins/comment.lua
2024-08-20 12:58:53 -04:00

10 lines
275 B
Lua

local comment = require("Comment")
local ts_context_commentstring = require("ts_context_commentstring.integrations.comment_nvim")
-- enable comment
comment.setup({
-- for commenting tsx, jsx, svelte, html files
pre_hook = ts_context_commentstring.create_pre_hook(),
})