Skip to content

Commit

Permalink
Fix: #847 - add prefer_git to treesitter config (#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
feoh committed Apr 17, 2024
1 parent fabeb86 commit 6d6b3f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6d6b3f3

Please sign in to comment.