feat(treesitter): use new version of treesitter

This commit is contained in:
Guz
2026-02-14 13:04:22 -03:00
parent b5908349cb
commit c60ec0fe4b
5 changed files with 107 additions and 96 deletions

View File

@@ -182,11 +182,26 @@ lze.load({
-- Treesitter (Syntax Highlighting)
{
"nvim-treesitter",
after = function()
vim.api.nvim_create_autocmd("FileType", {
pattern = require("nvim-treesitter.config").get_installed(),
callback = function()
vim.treesitter.start()
end,
})
end,
event = "FileType",
dep_of = { "godotdev", "indent-blankline.nvim" },
on_require = "nvim-treesitter",
},
{ "nvim-treesitter-textobjects", dep_of = "nvim-treesitter" },
{ "nvim-treesitter-textsubjects", dep_of = "nvim-treesitter" },
-- {
-- "nvim-treesitter-textobjects",
-- after = function()
-- vim.g.no_plugin_maps = false
-- end,
-- dep_of = "nvim-treesitter",
-- },
-- { "nvim-treesitter-textsubjects", dep_of = "nvim-treesitter" },
-- Appearance
{