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 appuchias committed Apr 21, 2024
1 parent 41bc746 commit 909b1b9
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 909b1b9

Please sign in to comment.