Merge pull request #195116 from pbar1/tree-sitter-jsonnet

tree-sitter-grammars: Add jsonnet
This commit is contained in:
Anderson Torres 2022-10-09 18:45:57 -03:00 committed by GitHub
commit ad4d4aaeb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View file

@ -46,6 +46,7 @@
tree-sitter-jsdoc = lib.importJSON ./tree-sitter-jsdoc.json;
tree-sitter-json = lib.importJSON ./tree-sitter-json.json;
tree-sitter-json5 = lib.importJSON ./tree-sitter-json5.json;
tree-sitter-jsonnet = lib.importJSON ./tree-sitter-jsonnet.json;
tree-sitter-julia = lib.importJSON ./tree-sitter-julia.json;
tree-sitter-kotlin = lib.importJSON ./tree-sitter-kotlin.json;
tree-sitter-latex = lib.importJSON ./tree-sitter-latex.json;

View file

@ -0,0 +1,11 @@
{
"url": "https://github.com/sourcegraph/tree-sitter-jsonnet",
"rev": "0475a5017ad7dc84845d1d33187f2321abcb261d",
"date": "2022-05-27T01:23:53-04:00",
"path": "/nix/store/n4yijz5b0bky4zd8kvh632a5zlxc3rfv-tree-sitter-jsonnet",
"sha256": "1dh8wqi8mnsapzicrdjg6cj6skj9f2ia4ijg08pl45bcxc1lidzc",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View file

@ -53,7 +53,7 @@ let
# this is the haskell language bindings, tree-sitter-haskell is the grammar
"haskell-tree-sitter"
# this is the ruby language bindings, tree-sitter-ruby is the grammar
"ruby-tree-sitter"
"ruby-tree-sitter.old"
# this is the (unmaintained) rust language bindings, tree-sitter-rust is the grammar
"rust-tree-sitter"
# this is the nodejs language bindings, tree-sitter-javascript is the grammar
@ -347,6 +347,10 @@ let
orga = "indoorvivants";
repo = "tree-sitter-smithy";
};
"tree-sitter-jsonnet" = {
orga = "sourcegraph";
repo = "tree-sitter-jsonnet";
};
};
allGrammars =