Compare commits
2 Commits
6191bd4e1b
...
5b53640d91
Author | SHA1 | Date | |
---|---|---|---|
5b53640d91 | |||
67361b5fa9 |
|
@ -176,11 +176,11 @@
|
|||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1702320511,
|
||||
"narHash": "sha256-L3yWNm3a6yguaisCbjLbFCFUsSMwp/DG69LyDALUy+c=",
|
||||
"lastModified": 1703163600,
|
||||
"narHash": "sha256-moGQSMrkzP+3P20Nkx3DIkL2R/rK5/KSakuF4JvPuGw=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "3088bcfa224e6f259428054571529b09587af899",
|
||||
"revCount": 4,
|
||||
"rev": "b43f5ecea195346d4488da3a2f85e7b67360a137",
|
||||
"revCount": 5,
|
||||
"type": "git",
|
||||
"url": "https://githug.xyz/xenia/tree-sitters"
|
||||
},
|
||||
|
|
|
@ -22,14 +22,14 @@
|
|||
};
|
||||
sitters = tree-sitters.packages.${sys};
|
||||
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 {
|
||||
name = "kak-tree-bin";
|
||||
src = ./.;
|
||||
cargoLock = { lockFile = ./Cargo.lock; };
|
||||
buildFeatures = ["bash" "c" "python" "rust" "nix" "agda" "html"];
|
||||
buildFeatures = ["bash" "c" "python" "rust" "nix" "agda" "html" "javascript"];
|
||||
inherit sitterlist;
|
||||
preBuild = ''
|
||||
mkdir lib
|
||||
|
|
|
@ -18,3 +18,12 @@ group.string = ["string", "concatenated_string"]
|
|||
group.number = ["integer", "float"]
|
||||
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