mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
fix(wing): update parser and queries, add maintainer (#5671)
This commit is contained in:
parent
075a64addc
commit
17e77749c1
5 changed files with 4 additions and 8 deletions
|
|
@ -696,7 +696,7 @@
|
||||||
"revision": "a041228ae64632f59b9bd37346a0dbcb7817f36b"
|
"revision": "a041228ae64632f59b9bd37346a0dbcb7817f36b"
|
||||||
},
|
},
|
||||||
"wing": {
|
"wing": {
|
||||||
"revision": "238200d172538d5ff1228a929ea543465acfc410"
|
"revision": "d6af9180bfbd82b01980e7e5307d77ed3939e2a7"
|
||||||
},
|
},
|
||||||
"xcompose": {
|
"xcompose": {
|
||||||
"revision": "01344fed31a3cd37a63f03357ec80cbc592a93b5"
|
"revision": "01344fed31a3cd37a63f03357ec80cbc592a93b5"
|
||||||
|
|
|
||||||
|
|
@ -2042,7 +2042,7 @@ list.wing = {
|
||||||
location = "libs/tree-sitter-wing",
|
location = "libs/tree-sitter-wing",
|
||||||
requires_generate_from_grammar = true,
|
requires_generate_from_grammar = true,
|
||||||
},
|
},
|
||||||
maintainers = { "@gshpychka" },
|
maintainers = { "@gshpychka", "@MarkMcCulloh" },
|
||||||
experimental = true,
|
experimental = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,4 @@
|
||||||
(enum_definition)
|
(enum_definition)
|
||||||
(try_catch_statement)
|
(try_catch_statement)
|
||||||
(method_definition)
|
(method_definition)
|
||||||
(inflight_method_definition)
|
|
||||||
] @fold
|
] @fold
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@
|
||||||
name: (identifier) @type)
|
name: (identifier) @type)
|
||||||
(method_definition
|
(method_definition
|
||||||
name: (identifier) @method)
|
name: (identifier) @method)
|
||||||
(inflight_method_definition
|
|
||||||
name: (identifier) @method)
|
|
||||||
|
|
||||||
; Functions
|
; Functions
|
||||||
|
|
||||||
|
|
@ -78,7 +76,6 @@
|
||||||
"for"
|
"for"
|
||||||
"if"
|
"if"
|
||||||
"in"
|
"in"
|
||||||
"init"
|
|
||||||
"let"
|
"let"
|
||||||
"new"
|
"new"
|
||||||
"return"
|
"return"
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,9 @@ class Foo {
|
||||||
//^ field
|
//^ field
|
||||||
// ^ type.builtin
|
// ^ type.builtin
|
||||||
// ^ punctuation.delimiter
|
// ^ punctuation.delimiter
|
||||||
init(name: str) {
|
new(name: str) {
|
||||||
//^ keyword
|
//^ keyword
|
||||||
// ^ variable
|
// ^ variable
|
||||||
this.name = name;
|
this.name = name;
|
||||||
// ^ punctuation.delimiter
|
// ^ punctuation.delimiter
|
||||||
// ^ operator
|
// ^ operator
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue