tree-sitter-grammars: add wing (#240140)
This commit is contained in:
parent
2822d3ef07
commit
bbd132ed3e
@ -72,7 +72,8 @@ let
|
||||
{ tree-sitter-typescript = grammars'.tree-sitter-typescript // { location = "typescript"; }; } //
|
||||
{ tree-sitter-tsx = grammars'.tree-sitter-typescript // { location = "tsx"; }; } //
|
||||
{ tree-sitter-markdown = grammars'.tree-sitter-markdown // { location = "tree-sitter-markdown"; }; } //
|
||||
{ tree-sitter-markdown-inline = grammars'.tree-sitter-markdown // { language = "markdown_inline"; location = "tree-sitter-markdown-inline"; }; };
|
||||
{ tree-sitter-markdown-inline = grammars'.tree-sitter-markdown // { language = "markdown_inline"; location = "tree-sitter-markdown-inline"; }; } //
|
||||
{ tree-sitter-wing = grammars'.tree-sitter-wing // { location = "libs/tree-sitter-wing"; generate = true; }; };
|
||||
in
|
||||
lib.mapAttrs build (grammars);
|
||||
|
||||
|
@ -96,6 +96,7 @@
|
||||
tree-sitter-verilog = lib.importJSON ./tree-sitter-verilog.json;
|
||||
tree-sitter-vim = lib.importJSON ./tree-sitter-vim.json;
|
||||
tree-sitter-vue = lib.importJSON ./tree-sitter-vue.json;
|
||||
tree-sitter-wing = lib.importJSON ./tree-sitter-wing.json;
|
||||
tree-sitter-yaml = lib.importJSON ./tree-sitter-yaml.json;
|
||||
tree-sitter-yang = lib.importJSON ./tree-sitter-yang.json;
|
||||
tree-sitter-zig = lib.importJSON ./tree-sitter-zig.json;
|
||||
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"url": "https://github.com/winglang/wing",
|
||||
"rev": "e578973d6f60091ba3458095edceb37bae2d04e2",
|
||||
"date": "2023-06-27T12:28:26+00:00",
|
||||
"path": "/nix/store/ppjabjz0dgmsr3k0wm07z7391vz7m120-wing",
|
||||
"sha256": "0089rxdzxi43qal2310dpyzw1a3zl08qbm5b8md8cgwmvycija9a",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
@ -371,6 +371,10 @@ let
|
||||
orga = "eonpatapon";
|
||||
repo = "tree-sitter-cue";
|
||||
};
|
||||
"tree-sitter-wing" = {
|
||||
orga = "winglang";
|
||||
repo = "wing";
|
||||
};
|
||||
};
|
||||
|
||||
allGrammars =
|
||||
|
Loading…
Reference in New Issue
Block a user