Merge pull request #169967 from adisbladis/tree-sitter-emacs-langs-parity

tree-sitter-grammars: Add grammars for parity with Emacs tree-sitter-langs
main
Sandro 2 years ago committed by GitHub
commit 73465c2247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
  2. 11
      pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-janet-simple.json
  3. 11
      pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-pgn.json
  4. 8
      pkgs/development/tools/parsing/tree-sitter/update.nix

@ -39,6 +39,7 @@
tree-sitter-hjson = lib.importJSON ./tree-sitter-hjson.json;
tree-sitter-html = lib.importJSON ./tree-sitter-html.json;
tree-sitter-http = lib.importJSON ./tree-sitter-http.json;
tree-sitter-janet-simple = lib.importJSON ./tree-sitter-janet-simple.json;
tree-sitter-java = lib.importJSON ./tree-sitter-java.json;
tree-sitter-javascript = lib.importJSON ./tree-sitter-javascript.json;
tree-sitter-jsdoc = lib.importJSON ./tree-sitter-jsdoc.json;
@ -57,6 +58,7 @@
tree-sitter-ocaml = lib.importJSON ./tree-sitter-ocaml.json;
tree-sitter-org-nvim = lib.importJSON ./tree-sitter-org-nvim.json;
tree-sitter-perl = lib.importJSON ./tree-sitter-perl.json;
tree-sitter-pgn = lib.importJSON ./tree-sitter-pgn.json;
tree-sitter-php = lib.importJSON ./tree-sitter-php.json;
tree-sitter-pioasm = lib.importJSON ./tree-sitter-pioasm.json;
tree-sitter-prisma = lib.importJSON ./tree-sitter-prisma.json;

@ -0,0 +1,11 @@
{
"url": "https://github.com/sogaiu/tree-sitter-janet-simple",
"rev": "e6c04e4b243cf3e5aca8f201e48926a72cc18334",
"date": "2022-03-29T10:00:03+09:00",
"path": "/nix/store/4ynwhc2s20xm093inlpyxgdb6pbc753m-tree-sitter-janet-simple",
"sha256": "1anbd0bx8vcg1rb6mr8hknnd5f9f6zr3h7kn98x8s7znyvlj4w6q",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

@ -0,0 +1,11 @@
{
"url": "https://github.com/rolandwalker/tree-sitter-pgn",
"rev": "e26ee30850f0cb81541480cf1e2c70385bdb013a",
"date": "2021-08-25T17:57:38-04:00",
"path": "/nix/store/fj882ab2hl3qrz45zvq366na6d2gqv8v-tree-sitter-pgn",
"sha256": "1c4602jmq3p7p7splzip76863l1z3rgbjlbksqv0diqjxp7c42gq",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

@ -181,6 +181,10 @@ let
orga = "bkegley";
repo = "tree-sitter-graphql";
};
"tree-sitter-pgn" = {
orga = "rolandwalker";
repo = "tree-sitter-pgn";
};
"tree-sitter-perl" = {
orga = "ganezdragon";
repo = "tree-sitter-perl";
@ -277,6 +281,10 @@ let
orga = "uyha";
repo = "tree-sitter-cmake";
};
"tree-sitter-janet-simple" = {
orga = "sogaiu";
repo = "tree-sitter-janet-simple";
};
"tree-sitter-json5" = {
orga = "joakker";
repo = "tree-sitter-json5";

Loading…
Cancel
Save