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:
parent
80e148cd33
commit
c34f7b1c0e
|
@ -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,
|
||||
})
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue