Fix: #847 - add prefer_git to treesitter config (#856)

pull/740/head
Chris Patti 7 months ago committed by GitHub
parent fabeb86d8b
commit 6d6b3f38c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -817,6 +817,8 @@ require('lazy').setup({
config = function(_, opts) config = function(_, opts)
-- [[ Configure Treesitter ]] See `:help nvim-treesitter` -- [[ 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 ---@diagnostic disable-next-line: missing-fields
require('nvim-treesitter.configs').setup(opts) require('nvim-treesitter.configs').setup(opts)

Loading…
Cancel
Save