This commit is contained in:
Domipoke
2026-06-25 19:20:54 +02:00
parent 9360ba8e8a
commit 8ad3acaa15
26 changed files with 955 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
return {
"numToStr/Comment.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"JoosepAlviste/nvim-ts-context-commentstring",
},
config = function()
local comment = require("Comment")
local ts_context_commentstring = require("ts_context_commentstring.integrations.comment_nvim")
comment.setup({
-- for commenting tsx and jsx files
pre_hook = ts_context_commentstring.create_pre_hook(),
})
end,
}