mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -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"
|
||||
},
|
||||
"wing": {
|
||||
"revision": "238200d172538d5ff1228a929ea543465acfc410"
|
||||
"revision": "d6af9180bfbd82b01980e7e5307d77ed3939e2a7"
|
||||
},
|
||||
"xcompose": {
|
||||
"revision": "01344fed31a3cd37a63f03357ec80cbc592a93b5"
|
||||
|
|
|
|||
|
|
@ -2042,7 +2042,7 @@ list.wing = {
|
|||
location = "libs/tree-sitter-wing",
|
||||
requires_generate_from_grammar = true,
|
||||
},
|
||||
maintainers = { "@gshpychka" },
|
||||
maintainers = { "@gshpychka", "@MarkMcCulloh" },
|
||||
experimental = true,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,5 +12,4 @@
|
|||
(enum_definition)
|
||||
(try_catch_statement)
|
||||
(method_definition)
|
||||
(inflight_method_definition)
|
||||
] @fold
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@
|
|||
name: (identifier) @type)
|
||||
(method_definition
|
||||
name: (identifier) @method)
|
||||
(inflight_method_definition
|
||||
name: (identifier) @method)
|
||||
|
||||
; Functions
|
||||
|
||||
|
|
@ -78,7 +76,6 @@
|
|||
"for"
|
||||
"if"
|
||||
"in"
|
||||
"init"
|
||||
"let"
|
||||
"new"
|
||||
"return"
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ class Foo {
|
|||
//^ field
|
||||
// ^ type.builtin
|
||||
// ^ punctuation.delimiter
|
||||
init(name: str) {
|
||||
new(name: str) {
|
||||
//^ keyword
|
||||
// ^ variable
|
||||
// ^ variable
|
||||
this.name = name;
|
||||
// ^ punctuation.delimiter
|
||||
// ^ operator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue