Skip to content

Commit

Permalink
Fix: nvim-lua#847 - add prefer_git to treesitter config (nvim-lua#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
feoh authored and halyD committed Jul 8, 2024
1 parent b0ec839 commit 11f87c3
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 @@ -846,6 +846,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 11f87c3

Please sign in to comment.