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
mkdir $out
mv parser $out/
if [[ -d "$src/queries" ]]; then
cp -r $src/queries $out/
fi
runHook postInstall
'';
}