From 691cf3ca81c14f081a3f999e762c7e31006365aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 24 May 2023 17:57:53 +0100 Subject: [PATCH] Disable bash grammar for treesitter --- config/programs/vim/modules/visual/treesitter.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/programs/vim/modules/visual/treesitter.nix b/config/programs/vim/modules/visual/treesitter.nix index ac017bd2..e3f03939 100644 --- a/config/programs/vim/modules/visual/treesitter.nix +++ b/config/programs/vim/modules/visual/treesitter.nix @@ -1,6 +1,7 @@ {pkgs, ...}: { - output.plugins = with pkgs.vimPlugins; [(nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars))]; + output.plugins = with pkgs.vimPlugins; [pkgs.vimPlugins.nvim-treesitter.withAllGrammars]; plugin.setup."nvim-treesitter.configs" = { highlight.enable = true; + highlight.disable = ["bash"]; }; }