From cdda87b300747ad3990f572e308b8441e88510a9 Mon Sep 17 00:00:00 2001 From: inkch Date: Wed, 6 Mar 2024 16:47:51 +0900 Subject: [PATCH] nvim: treesitter: install "all" parser --- dot_config/nvim/lua/plugins/treesitter.lua | 38 +--------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/dot_config/nvim/lua/plugins/treesitter.lua b/dot_config/nvim/lua/plugins/treesitter.lua index 992e797..40ba9b1 100644 --- a/dot_config/nvim/lua/plugins/treesitter.lua +++ b/dot_config/nvim/lua/plugins/treesitter.lua @@ -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,