Switch to Comments.nvim plugin and ditch context-commentstring

Comments is more modern than Commentary and context-commentstring I do
not really need I think
This commit is contained in:
Jean-Claude 2023-12-05 15:55:21 +01:00
parent 80e148cd33
commit c34f7b1c0e
Signed by: jeanclaude
GPG Key ID: 8A300F57CBB9F63E
2 changed files with 3 additions and 9 deletions

View File

@ -93,7 +93,6 @@ packer.startup(function(use)
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
requires = {
"JoosepAlviste/nvim-ts-context-commentstring",
"p00f/nvim-ts-rainbow",
},
config = function()
@ -101,13 +100,11 @@ packer.startup(function(use)
end,
})
-- Comments
use({
"jose-elias-alvarez/null-ls.nvim",
requires = {
{ "nvim-lua/plenary.nvim" },
},
"numToStr/Comment.nvim",
config = function()
require("user.plugins.null-ls")
require("Comment").setup()
end,
})

View File

@ -13,9 +13,6 @@ treesitter_conf.setup({
enable = false,
disable = {},
},
context_commentstring = {
enable = true,
},
rainbow = {
enable = true,
-- disable = { "jsx", "cpp" }, list of languages you want to disable the plugin for