nvim: treesitter: Add parsers for C, lua, vim & vimdoc

We were getting errors on trying to open vim help files. As per
nvim-treesitter, parsers for C, lua, query, vim & vimdoc should
always be installed.
This commit is contained in:
Sanchayan Maity 2024-01-09 12:41:24 +05:30
parent d974be35c2
commit 384eed0b5c
Signed by: sanchayanmaity
GPG Key ID: 6F6A0609C12038F3
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
local ts_langs = { "bash", "cpp", "diff", "fennel", "fish", "go", "haskell", "html", "java", "javascript", "jsdoc", "json", "markdown", "nix", "python", "query", "racket", "rust", "scheme", "toml", "tsx", "typescript", "verilog" }
local ts_langs = { "bash", "c", "cpp", "diff", "fennel", "fish", "go", "haskell", "html", "java", "javascript", "jsdoc", "json", "lua", "markdown", "nix", "python", "query", "racket", "rust", "scheme", "toml", "tsx", "typescript", "verilog", "vim", "vimdoc" }
require'nvim-treesitter.install'.compilers = { "gcc" }
require'nvim-treesitter.configs'.setup {