mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2026-04-26 20:21:35 +00:00
[neovim] replace nvim-treesitter by tree-sitter-manager
This commit is contained in:
@@ -73,7 +73,23 @@ require("lazy").setup({
|
||||
},
|
||||
event = "VeryLazy",
|
||||
},
|
||||
{ "nvim-treesitter/nvim-treesitter", branch = "main", event = "BufReadPost" },
|
||||
{
|
||||
"romus204/tree-sitter-manager.nvim",
|
||||
dependencies = {}, -- tree-sitter CLI must be installed system-wide
|
||||
config = function()
|
||||
require("tree-sitter-manager").setup({
|
||||
-- Default Options
|
||||
-- ensure_installed = {}, -- list of parsers to install at the start of a neovim session
|
||||
-- border = nil, -- border style for the window (e.g. "rounded", "single"), if nil, use the default border style defined by 'vim.o.winborder'. See :h 'winborder' for more info.
|
||||
-- auto_install = false, -- if enabled, install missing parsers when editing a new file
|
||||
-- highlight = true, -- treesitter highlighting is enabled by default
|
||||
-- languages = {}, -- override or add new parser sources
|
||||
-- parser_dir = vim.fn.stdpath("data") .. "/site/parser",
|
||||
-- query_dir = vim.fn.stdpath("data") .. "/site/queries",
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"folke/snacks.nvim",
|
||||
priority = 1000,
|
||||
|
||||
Reference in New Issue
Block a user