Explorar o código

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
jstrot %!s(int64=2) %!d(string=hai) anos
pai
achega
bb9f84ca8f
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      init.lua

+ 0 - 2
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)