From 064df213f2cf4951494ecd4f226d37dafaf00d7b Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 12 Sep 2023 11:55:52 +0530 Subject: [PATCH] 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. --- nvim/.config/nvim/lua/treesitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/treesitter.lua b/nvim/.config/nvim/lua/treesitter.lua index 7401146..577914b 100644 --- a/nvim/.config/nvim/lua/treesitter.lua +++ b/nvim/.config/nvim/lua/treesitter.lua @@ -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 {