07012024
This commit is contained in:
parent
b832ef9f6e
commit
6be2114458
2 changed files with 27 additions and 15 deletions
|
@ -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"}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue