This PR configures Treesitter to prefer git rather than expecting curl
to be installed. This prevevents a failure mode on WSL where curl is
optional.
This commit is contained in:
Chris Patti 2024-04-17 11:25:13 -04:00
parent fabeb86d8b
commit 9ddac5a2f1

View File

@ -817,6 +817,7 @@ require('lazy').setup({
config = function(_, opts)
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
require('nvim-treesitter.install').prefer_git = true
---@diagnostic disable-next-line: missing-fields
require('nvim-treesitter.configs').setup(opts)