mirror of
https://github.com/don-philipe/dotfiles.git
synced 2026-11-07 16:14:12 +01:00
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:
1 parent
345b7bd08c
commit
918dfec5e1
2 files changed
+5
-2
No files matched your search
@@ -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)
|
-- 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" },
|
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "markdown", "markdown_inline", "python", "javascript", "css", "html", "yaml", "java", "bash", "csv", "dockerfile", "htmldjango", "json", "nginx", "latex" },
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
return {
|
return {
|
||||||
{'nvim-treesitter/nvim-treesitter',
|
{'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
|
-- configure parsers via config/treesitter.lua
|
||||||
-- update parsers with :TSUpdate
|
-- update parsers with :TSUpdate
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user