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 dmaspataud committed May 18, 2024
1 parent 3596fa1 commit 3ed6c34
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 @@ -824,6 +824,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 {
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc', 'helm', 'go', 'terraform' },
Expand Down

0 comments on commit 3ed6c34

Please sign in to comment.