18 lines
360 B
Lua
18 lines
360 B
Lua
return {
|
|
{
|
|
'numToStr/Comment.nvim',
|
|
dependencies = {
|
|
'JoosepAlviste/nvim-ts-context-commentstring',
|
|
},
|
|
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,
|
|
},
|
|
}
|