tree-sitter: Package query files used for syntax highlighting

This commit is contained in:
talyz 2022-08-25 18:10:47 +02:00
parent 6943487dde
commit 784686d06c
No known key found for this signature in database
GPG Key ID: 2DED2151F4671A2B

View File

@ -50,6 +50,9 @@ stdenv.mkDerivation rec {
runHook preInstall runHook preInstall
mkdir $out mkdir $out
mv parser $out/ mv parser $out/
if [[ -d "$src/queries" ]]; then
cp -r $src/queries $out/
fi
runHook postInstall runHook postInstall
''; '';
} }