Compare commits

...

2 Commits

Author SHA1 Message Date
Chris Patti
9f52334ffa Enhancement: Add comment as per suggestion 2024-04-17 11:54:29 -04:00
Chris Patti
9ddac5a2f1 Fix: #847
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.
2024-04-17 11:25:13 -04:00

View File

@ -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)