install only selected treesitter modules
This commit is contained in:
parent
c0b4b805d0
commit
96b427762b
1 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,17 @@
|
|||
return function()
|
||||
require 'nvim-treesitter.configs'.setup {
|
||||
-- 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`)
|
||||
sync_install = true,
|
||||
|
|
Loading…
Reference in a new issue