diff --git a/.config/nvim/lua/josean/plugins/treesitter.lua b/.config/nvim/lua/josean/plugins/treesitter.lua index 12e9b9b3..47f9e61a 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, },