Remove treesitter prefer_git option

- 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
This commit is contained in:
Jean-Sebastien Trottier 2024-07-28 19:17:57 -04:00
parent 84cc12354d
commit 8485231cac
No known key found for this signature in database
GPG Key ID: FE65C895A91596BC
1 changed files with 0 additions and 2 deletions

View File

@ -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)