dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

commit 8e2b0927cf63ca4b8dae4f02d3916ab85f2efe2a
parent 4239763575953f1fdd182b7c7e4274e324940fc4
Author: Chris <chris@echoz.io>
Date:   Fri, 28 Nov 2025 12:39:32 +0100

revert(neovim): remove treesitter grammars

Diffstat:
Mmodules/neovim/default.nix | 16+---------------
1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/modules/neovim/default.nix b/modules/neovim/default.nix @@ -4,7 +4,7 @@ ... }: let - runtime = luaRuntime // lspRuntime // ftpluginRuntime // treesitterRuntime; + runtime = luaRuntime // lspRuntime // ftpluginRuntime; initLua = generateInitLua runtime { cheat-sheet.file = ./cheat-sheet.txt; @@ -81,20 +81,6 @@ let }; }; - treesitterRuntime = - let - grammars = pkgs.symlinkJoin { - name = "neovim-grammars"; - paths = lib.mapAttrsToList (_: grammar: pkgs.neovimUtils.grammarToPlugin grammar) ( - lib.filterAttrs (_: lib.isDerivation) pkgs.tree-sitter-grammars - ); - }; - in - { - parser.source = grammars + "/parser"; - queries.source = grammars + "/queries"; - }; - generateLspRuntime = lsps: (lib.mapAttrs' (name: config: {