aboutsummaryrefslogtreecommitdiff
path: root/lua/kickstart/plugins/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/kickstart/plugins/treesitter.lua')
-rw-r--r--lua/kickstart/plugins/treesitter.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/kickstart/plugins/treesitter.lua b/lua/kickstart/plugins/treesitter.lua
index da7db63..4bf12fe 100644
--- a/lua/kickstart/plugins/treesitter.lua
+++ b/lua/kickstart/plugins/treesitter.lua
@@ -18,6 +18,8 @@ return {
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)