This commit is contained in:
foozzi 2024-01-07 12:49:12 -05:00
parent b832ef9f6e
commit 6be2114458
2 changed files with 27 additions and 15 deletions

View file

@ -1,6 +1,17 @@
local config = function()
require('ts_context_commentstring').setup {
enable_autocmd = false,
}
require('Comment').setup {
pre_hook = require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook(),
}
end
return {
"numToStr/Comment.nvim",
opts = {
},
opts = config,
lazy = false,
dependencies = {
{"JoosepAlviste/nvim-ts-context-commentstring"}
}
}