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

This commit is contained in:
Chris Patti 2024-04-17 14:02:24 -04:00 committed by GitHub
parent fabeb86d8b
commit 6d6b3f38c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -817,6 +817,8 @@ 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)