tree-sitter-grammars.tree-sitter-qmljs: init

This commit is contained in:
jaredmontoya
2025-12-18 19:08:13 +01:00
parent 532bd8d5e1
commit f2ed26857a
2 changed files with 15 additions and 1 deletions
@@ -10,7 +10,7 @@ let
/**
Set of grammar sources. See ./grammar-sources.nix to define a new grammar.
*/
grammar-sources = import ./grammar-sources.nix;
grammar-sources = import ./grammar-sources.nix { inherit lib; };
/**
Parse a flakeref style string to { type, owner, repo, ref }
@@ -1,3 +1,5 @@
{ lib }:
{
bash = {
version = "0.23.3";
@@ -527,6 +529,18 @@
hash = "sha256-mJ/bj09mT1WTaiKoXiRXDM7dkenf5hv2ArXieeTVe6I=";
};
qmljs = rec {
version = "0.3.0";
url = "github:yuja/tree-sitter-qmljs?ref=${version}";
hash = "sha256-tV4lipey+OAQwygRFp9lQAzgCNiZzSu7p3Mr6CCBH1g=";
meta = {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
jaredmontoya
];
};
};
query = {
version = "0.5.0";
url = "github:nvim-treesitter/tree-sitter-query";