aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjstrot <44594069+jstrot@users.noreply.github.com>2024-07-29 20:01:19 -0400
committerGitHub <noreply@github.com>2024-07-29 20:01:19 -0400
commitbb9f84ca8f37c97ae248575680fc73c72ced471d (patch)
tree4d38fc2a09a82f61b4f983b010f5949e0b715eb1
parent84cc12354dbe0ebda180d445f54820def8c4638f (diff)
Remove treesitter prefer_git option (#1061)
- It's not safe and can corrupt other git repos - nvim-treesiter maintainers consider `prefer_git` as deprecated and no longer needed. See nvim-treesitter PR for details: https://github.com/nvim-treesitter/nvim-treesitter/pull/6959
-rw-r--r--init.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index ee1d3b4..04c5896 100644
--- a/init.lua
+++ b/init.lua
@@ -856,8 +856,6 @@ 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)