From ae77d8121dc1782db1260487d0a86b0ab8acbc2b Mon Sep 17 00:00:00 2001 From: Luis Goicochea Date: Mon, 29 Dec 2025 13:07:52 +0100 Subject: [PATCH] Update treesitter configuration to use master branch Specify the use of the 'master' branch for compatibility with Lazy loading. --- .config/nvim/lua/josean/plugins/treesitter.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/nvim/lua/josean/plugins/treesitter.lua b/.config/nvim/lua/josean/plugins/treesitter.lua index 12e9b9b36..47f9e61ae 100644 --- a/.config/nvim/lua/josean/plugins/treesitter.lua +++ b/.config/nvim/lua/josean/plugins/treesitter.lua @@ -1,5 +1,6 @@ return { "nvim-treesitter/nvim-treesitter", + branch = "master" -- using the 'master' branch, because the main branch don't support Lazy event = { "BufReadPre", "BufNewFile" }, build = ":TSUpdate", config = function() @@ -8,6 +9,12 @@ return { -- configure treesitter treesitter.setup({ -- enable syntax highlighting + -- add default variables + modules = {}, + sync_install = false, + ignore_install = {}, + auto_install = true, + -- enable highlighting highlight = { enable = true, },