nvim: treesitter: install "all" parser

This commit is contained in:
inkch 2024-03-06 16:47:51 +09:00
parent 8ff62cef14
commit cdda87b300

View File

@ -4,43 +4,7 @@ return {
config = function()
require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" (the five listed parsers should always be installed)
ensure_installed = {
"bash",
"c",
"c_sharp",
"cmake",
"commonlisp",
"cpp",
"css",
"diff",
"dockerfile",
"fish",
"git_config",
"gitcommit",
"gitignore",
"go",
"html",
"javascript",
"jq",
"json",
"latex",
"lua",
"org",
"php",
"python",
"query",
"ruby",
"rust",
"scss",
"todotxt",
"toml",
"typescript",
"vim",
"vimdoc",
"vue",
"xml",
"yaml",
},
ensure_installed = "all",
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,