diff --git a/init.lua b/init.lua index 3d134d50..cc49351e 100644 --- a/init.lua +++ b/init.lua @@ -817,6 +817,7 @@ require('lazy').setup({ config = function(_, opts) -- [[ Configure Treesitter ]] See `:help nvim-treesitter` + -- Prefer git instead of curl in order to improve connectivity in some environments require('nvim-treesitter.install').prefer_git = true ---@diagnostic disable-next-line: missing-fields require('nvim-treesitter.configs').setup(opts)