Xinqi Bao's Git

update for lsp and TS language
[dotfiles.git] / .config / nvim / lua / plugin-config / nvim-treesitter.lua
index 9184684..e61710a 100644 (file)
@@ -2,14 +2,20 @@ require'nvim-treesitter.configs'.setup {
   --[[
   ]]
   -- A list of parser names, or "all" (the five listed parsers should always be installed)
-  ensure_installed = { "c", "lua", "vim", "vimdoc", "query" },
+  ensure_installed = {
+        "c", "cpp", "python", "lua", "bash",
+        "cmake", "make",
+        "json", "yaml",
+        "vim", "vimdoc",
+        "query", "regex", "comment", "markdown",
+  },
 
   -- Install parsers synchronously (only applied to `ensure_installed`)
   sync_install = false,
 
   -- Automatically install missing parsers when entering buffer
   -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
-  auto_install = true,
+  auto_install = false,
 
   -- List of parsers to ignore installing (or "all")
   ignore_install = { "javascript" },