|
|
|
@ -113,9 +113,9 @@ local plugins = { |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
"nvim-treesitter/nvim-treesitter", |
|
|
|
|
dependencies = { |
|
|
|
|
"JoosepAlviste/nvim-ts-context-commentstring", |
|
|
|
|
}, |
|
|
|
|
-- dependencies = { |
|
|
|
|
-- "JoosepAlviste/nvim-ts-context-commentstring", |
|
|
|
|
-- }, |
|
|
|
|
opts = { |
|
|
|
|
ensure_installed = { |
|
|
|
|
"vim", |
|
|
|
@ -149,15 +149,15 @@ local plugins = { |
|
|
|
|
-- end, |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
"numToStr/Comment.nvim", |
|
|
|
|
dependencies = "JoosepAlviste/nvim-ts-context-commentstring", |
|
|
|
|
config = function() |
|
|
|
|
require("Comment").setup({ |
|
|
|
|
pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(), |
|
|
|
|
}) |
|
|
|
|
end, |
|
|
|
|
}, |
|
|
|
|
-- { |
|
|
|
|
-- "numToStr/Comment.nvim", |
|
|
|
|
-- dependencies = "JoosepAlviste/nvim-ts-context-commentstring", |
|
|
|
|
-- config = function() |
|
|
|
|
-- require("Comment").setup({ |
|
|
|
|
-- pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(), |
|
|
|
|
-- }) |
|
|
|
|
-- end, |
|
|
|
|
-- }, |
|
|
|
|
|
|
|
|
|
-- To make a plugin not be loaded |
|
|
|
|
-- { |
|
|
|
|