fixed error due to tree sitter no longer allowing maintained languages

This commit is contained in:
paul-loedige
2022-10-23 15:11:09 +09:00
parent e824820653
commit 3340335693
+15 -1
View File
@@ -193,7 +193,21 @@ highlight CursorLineNr ctermfg=7
lua <<EOF lua <<EOF
require'nvim-treesitter.configs'.setup { require'nvim-treesitter.configs'.setup {
-- One of "all", "maintained" (parsers with maintainers), or a list of languages -- One of "all", "maintained" (parsers with maintainers), or a list of languages
ensure_installed = "maintained", ensure_installed = {
"bash", "bibtex",
"c", "cmake", "comment", "cpp", "css",
"diff", "dockerfile", "dot",
"gitattributes", "gitignore",
"html", "http",
"javascript", "json", "json5",
"latex", "lua",
"make", "markdown", "markdown_inline",
"python",
"regex",
"sql",
"toml", "typescript",
"vim",
"yaml"},
-- Install languages synchronously (only applied to `ensure_installed`) -- Install languages synchronously (only applied to `ensure_installed`)
sync_install = false, sync_install = false,