From 3d764647bd1761f4d85192b6ae89f7932e5ba6d4 Mon Sep 17 00:00:00 2001 From: Nathan Date: Mon, 17 Mar 2025 22:54:09 -0500 Subject: [PATCH] add glsl to treesitter --- config/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/default.nix b/config/default.nix index 9a05ded..50d3ccf 100644 --- a/config/default.nix +++ b/config/default.nix @@ -20,7 +20,15 @@ telescope.enable = true; - treesitter.enable = true; + treesitter = { + enable = true; + settings = { + highlight.enable = true; + grammarPackages = pkgs.vimPlugins.nvim-treesitter.passthru.allGrammars ++ [ + pkgs.vimPlugins.nvim-treesitter-parsers.glsl + ]; + }; + }; render-markdown.enable = true;