WIP: tests for highlighting

This commit is contained in:
2023-07-07 01:47:46 +00:00
parent 27596798d6
commit b9e6711f82
17 changed files with 89 additions and 20 deletions

View File

@@ -3,6 +3,13 @@
pkgs.tree-sitter.buildGrammar {
src = ./.;
version = "0.1.0";
language = "nixshell";
language = "nix-shell";
generate = true;
location = "tree-sitter-nix-shell";
checkPhase = ''
(cd ..; make test)
'';
nativeCheckInputs = with pkgs; [ htmlq ];
doCheck = true;
}