tree-sitter-clojure: init

main
figsoda 3 years ago
parent 1cf01b5215
commit 19bd423fad
  1. 1
      pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
  2. 11
      pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-clojure.json
  3. 4
      pkgs/development/tools/parsing/tree-sitter/update.nix

@ -3,6 +3,7 @@
tree-sitter-bash = (builtins.fromJSON (builtins.readFile ./tree-sitter-bash.json));
tree-sitter-c = (builtins.fromJSON (builtins.readFile ./tree-sitter-c.json));
tree-sitter-c-sharp = (builtins.fromJSON (builtins.readFile ./tree-sitter-c-sharp.json));
tree-sitter-clojure = (builtins.fromJSON (builtins.readFile ./tree-sitter-clojure.json));
tree-sitter-comment = (builtins.fromJSON (builtins.readFile ./tree-sitter-comment.json));
tree-sitter-cpp = (builtins.fromJSON (builtins.readFile ./tree-sitter-cpp.json));
tree-sitter-css = (builtins.fromJSON (builtins.readFile ./tree-sitter-css.json));

@ -0,0 +1,11 @@
{
"url": "https://github.com/sogaiu/tree-sitter-clojure",
"rev": "39bf0977d223879436c1425fe6bfeb3bcfd86f92",
"date": "2021-08-15T13:16:31+09:00",
"path": "/nix/store/7kpf74gw4a68fby6jiw4n7lc4jfkgcf4-tree-sitter-clojure",
"sha256": "0ryj75znysvyvv4qaghygx1srrhlwhfmzmdilm652prkgj6yzh6b",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

@ -70,6 +70,10 @@ let
# If you need a grammar that already exists in the official orga,
# make sure to give it a different name.
otherGrammars = {
"tree-sitter-clojure" = {
orga = "sogaiu";
repo = "tree-sitter-clojure";
};
"tree-sitter-comment" = {
orga = "stsewd";
repo = "tree-sitter-comment";

Loading…
Cancel
Save