diff --git a/lua/nvchad/configs/treesitter.lua b/lua/nvchad/configs/treesitter.lua index 870ac24..e8697b6 100644 --- a/lua/nvchad/configs/treesitter.lua +++ b/lua/nvchad/configs/treesitter.lua @@ -1,5 +1,7 @@ -dofile(vim.g.base46_cache .. "syntax") -dofile(vim.g.base46_cache .. "treesitter") +pcall(function() + dofile(vim.g.base46_cache .. "syntax") + dofile(vim.g.base46_cache .. "treesitter") +end) local options = { ensure_installed = { "lua", "luadoc", "printf", "vim", "vimdoc" },