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