install only selected treesitter modules
All checks were successful
Build neovim image / build-neovim-amd64 (push) Successful in 21m31s
Build neovim image / build-neovim-arm64 (push) Successful in 32m21s
Build neovim image / update-images-manifest (push) Successful in 20s

This commit is contained in:
Szwendacz 2024-03-04 12:00:21 +01:00 committed by Maciej Lebiest
parent c0b4b805d0
commit 96b427762b

View file

@ -1,7 +1,17 @@
return function() return function()
require 'nvim-treesitter.configs'.setup { require 'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" -- A list of parser names, or "all"
ensure_installed = "all", ensure_installed = { "awk", "bash", "c", "cmake", "comment", "cpp",
"css", "csv", "devicetree", "diff", "dockerfile", "git_config",
"git_rebase", "gitattributes", "gitcommit", "go", "graphql",
"hjson", "html", "htmldjango", "http", "ini", "java", "javascript",
"jsdoc", "json", "json5", "jsonc", "kconfig", "latex", "llvm",
"lua", "luadoc", "make", "markdown", "markdown_inline", "mermaid",
"nix", "org", "passwd", "pem", "perl", "php", "php_only", "phpdoc",
"pod", "printf", "promql", "properties", "python",
"regex", "requirements", "ruby", "sql", "ssh_config", "strace",
"terraform", "toml", "typescript", "vim", "vimdoc", "xml", "yaml",
},
-- Install parsers synchronously (only applied to `ensure_installed`) -- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = true, sync_install = true,