Compare commits
2 Commits
6191bd4e1b
...
5b53640d91
Author | SHA1 | Date | |
---|---|---|---|
5b53640d91 | |||
67361b5fa9 |
|
@ -176,11 +176,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702320511,
|
"lastModified": 1703163600,
|
||||||
"narHash": "sha256-L3yWNm3a6yguaisCbjLbFCFUsSMwp/DG69LyDALUy+c=",
|
"narHash": "sha256-moGQSMrkzP+3P20Nkx3DIkL2R/rK5/KSakuF4JvPuGw=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "3088bcfa224e6f259428054571529b09587af899",
|
"rev": "b43f5ecea195346d4488da3a2f85e7b67360a137",
|
||||||
"revCount": 4,
|
"revCount": 5,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://githug.xyz/xenia/tree-sitters"
|
"url": "https://githug.xyz/xenia/tree-sitters"
|
||||||
},
|
},
|
||||||
|
|
|
@ -22,14 +22,14 @@
|
||||||
};
|
};
|
||||||
sitters = tree-sitters.packages.${sys};
|
sitters = tree-sitters.packages.${sys};
|
||||||
sitterlist = [
|
sitterlist = [
|
||||||
sitters.bash sitters.c sitters.python sitters.rust sitters.nix sitters.agda sitters.html
|
sitters.bash sitters.c sitters.python sitters.rust sitters.nix sitters.agda sitters.html sitters.javascript
|
||||||
];
|
];
|
||||||
|
|
||||||
kak-tree-bin = platform.buildRustPackage {
|
kak-tree-bin = platform.buildRustPackage {
|
||||||
name = "kak-tree-bin";
|
name = "kak-tree-bin";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
cargoLock = { lockFile = ./Cargo.lock; };
|
cargoLock = { lockFile = ./Cargo.lock; };
|
||||||
buildFeatures = ["bash" "c" "python" "rust" "nix" "agda" "html"];
|
buildFeatures = ["bash" "c" "python" "rust" "nix" "agda" "html" "javascript"];
|
||||||
inherit sitterlist;
|
inherit sitterlist;
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir lib
|
mkdir lib
|
||||||
|
|
|
@ -18,3 +18,12 @@ group.string = ["string", "concatenated_string"]
|
||||||
group.number = ["integer", "float"]
|
group.number = ["integer", "float"]
|
||||||
group.type = ["type", "generic_type"]
|
group.type = ["type", "generic_type"]
|
||||||
|
|
||||||
|
[filetype.javascript]
|
||||||
|
group.identifier = ["identifier"]
|
||||||
|
group.declaration = ["declaration"]
|
||||||
|
group.statement = ["statement"]
|
||||||
|
group.call = ["call_expression"]
|
||||||
|
group.arguments = ["arguments", "template_string"]
|
||||||
|
group.string = ["string", "template_string"]
|
||||||
|
group.number = ["number"]
|
||||||
|
group.type = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user