Update treesitter plugin config

Fix error message by switching to treesitter main branch
https://github.com/neovim/neovim/issues/39032#issuecomment-5599293020
This commit is contained in:
don philipe committed 2026-10-22 14:19:53 +02:00
1 parent 345b7bd08c
commit 918dfec5e1
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
require'nvim-treesitter.configs'.setup {
require('nvim-treesitter').setup {
-- A list of parser names, or "all" (the listed parsers MUST always be installed)
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "markdown", "markdown_inline", "python", "javascript", "css", "html", "yaml", "java", "bash", "csv", "dockerfile", "htmldjango", "json", "nginx", "latex" },
+4 -1
View File
@@ -1,6 +1,9 @@
return {
{'nvim-treesitter/nvim-treesitter',
tag = 'v0.9.3'}, -- pin to a version that works with nvim < 0.10
lazy = false,
build = ':TSUpdate',
branch = 'main',
}, -- pin to a version that works with nvim < 0.10
-- configure parsers via config/treesitter.lua
-- update parsers with :TSUpdate
}