fixed error due to tree sitter no longer allowing maintained languages
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user