nvim: treesitter: Add back bash, markdown & python

We had dropped these in commit f349a32 since these are now included
upstream but it seems when using neovim build from source, upstream
bundled parsers do not get updated at the same cadence as treesitter
plugin. This results in breaking syntax highlighting and we have
faced this now for python and bash. Bash is still broken.
This commit is contained in:
Sanchayan Maity 2023-09-12 11:55:52 +05:30
parent f21bb3141a
commit 064df213f2
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -1,4 +1,4 @@
local ts_langs = { "cpp", "diff", "fennel", "fish", "go", "haskell", "html", "java", "javascript", "jsdoc", "json", "nix", "query", "racket", "rust", "scheme", "toml", "tsx", "typescript", "verilog" }
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" }
require'nvim-treesitter.install'.compilers = { "gcc" }
require'nvim-treesitter.configs'.setup {