fix(treesitter): fix treesitter start autocmd pattern

This commit is contained in:
Guz
2026-06-12 19:52:00 -03:00
parent c3ea9a447b
commit 95b1f9d42a
2 changed files with 2 additions and 5 deletions

View File

@@ -204,7 +204,7 @@ lze.load({
"nvim-treesitter",
after = function()
vim.api.nvim_create_autocmd("FileType", {
pattern = require("nvim-treesitter.config").get_installed(),
pattern = require("nvim-treesitter.config").get_available(),
callback = function()
vim.treesitter.start()
end,

View File

@@ -37,9 +37,7 @@ in
friendly-snippets # Snippets
# Treesitter (Syntax Highlighting)
nvim-treesitter
# nvim-treesitter-textobjects # Dependency
# nvim-treesitter-textsubjects # Dependency
nvim-treesitter.withAllGrammars
(dot-nvim.overrideAttrs {doCheck = false;})
];
@@ -102,7 +100,6 @@ in
})
godotdev
];
# inherit start opt;
};
extraMakeWrapperArgs = let
binPath = lib.makeBinPath (with pkgs;