mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
feat(wit)!: update parser and queries
This commit is contained in:
parent
a98e67ad40
commit
1e3b7562c2
5 changed files with 23 additions and 20 deletions
2
SUPPORTED_LANGUAGES.md
generated
2
SUPPORTED_LANGUAGES.md
generated
|
|
@ -324,7 +324,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | | @steelsojka
|
||||||
[wgsl](https://github.com/szebniok/tree-sitter-wgsl) | unstable | `HFIJ ` | | @szebniok
|
[wgsl](https://github.com/szebniok/tree-sitter-wgsl) | unstable | `HFIJ ` | | @szebniok
|
||||||
[wgsl_bevy](https://github.com/tree-sitter-grammars/tree-sitter-wgsl-bevy) | unstable | `HFI ` | | @theHamsta
|
[wgsl_bevy](https://github.com/tree-sitter-grammars/tree-sitter-wgsl-bevy) | unstable | `HFI ` | | @theHamsta
|
||||||
[wing](https://github.com/winglang/tree-sitter-wing) | unstable | `HF JL` | | @gshpychka, @MarkMcCulloh
|
[wing](https://github.com/winglang/tree-sitter-wing) | unstable | `HF JL` | | @gshpychka, @MarkMcCulloh
|
||||||
[wit](https://github.com/bytecodealliance/tree-sitter-wit) | unstable | `HF J ` | | @liamwh
|
[wit](https://github.com/bytecodealliance/tree-sitter-wit) | unstable | `HF J ` | | @mkatychev
|
||||||
[xcompose](https://github.com/tree-sitter-grammars/tree-sitter-xcompose) | unstable | `H JL` | | @ObserverOfTime
|
[xcompose](https://github.com/tree-sitter-grammars/tree-sitter-xcompose) | unstable | `H JL` | | @ObserverOfTime
|
||||||
[xml](https://github.com/tree-sitter-grammars/tree-sitter-xml) | unstable | `HFIJL` | | @ObserverOfTime
|
[xml](https://github.com/tree-sitter-grammars/tree-sitter-xml) | unstable | `HFIJL` | | @ObserverOfTime
|
||||||
[xresources](https://github.com/ValdezFOmar/tree-sitter-xresources) | unstable | `HF JL` | | @ValdezFOmar
|
[xresources](https://github.com/ValdezFOmar/tree-sitter-xresources) | unstable | `HF JL` | | @ValdezFOmar
|
||||||
|
|
|
||||||
|
|
@ -2573,10 +2573,10 @@ return {
|
||||||
},
|
},
|
||||||
wit = {
|
wit = {
|
||||||
install_info = {
|
install_info = {
|
||||||
revision = '37bf43c7f11d2b4af7a78d98a19e6d5c2cf04ad2',
|
revision = 'a0fd28afe24511160f0601ab45044690c1cb7d92',
|
||||||
url = 'https://github.com/bytecodealliance/tree-sitter-wit',
|
url = 'https://github.com/bytecodealliance/tree-sitter-wit',
|
||||||
},
|
},
|
||||||
maintainers = { '@liamwh' },
|
maintainers = { '@mkatychev' },
|
||||||
tier = 2,
|
tier = 2,
|
||||||
},
|
},
|
||||||
xcompose = {
|
xcompose = {
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,6 @@
|
||||||
[
|
(body) @fold
|
||||||
(world_items)
|
|
||||||
(world_body)
|
|
||||||
(interface_items)
|
|
||||||
(interface_body)
|
|
||||||
] @fold
|
|
||||||
|
|
||||||
(world_items
|
(body
|
||||||
[
|
[
|
||||||
(use_item)
|
(use_item)
|
||||||
(import_item)
|
(import_item)
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,10 @@
|
||||||
(comment) @comment @spell
|
|
||||||
|
|
||||||
(ty
|
(ty
|
||||||
(id)) @type
|
(id)) @type
|
||||||
|
|
||||||
(package_decl
|
(package_decl
|
||||||
(id) @module)
|
(id) @module)
|
||||||
|
|
||||||
(valid_semver) @string.special
|
(version) @string.special
|
||||||
|
|
||||||
(world_item
|
(world_item
|
||||||
name: (id) @module)
|
name: (id) @module)
|
||||||
|
|
@ -17,7 +15,7 @@
|
||||||
(import_item
|
(import_item
|
||||||
name: (id) @module
|
name: (id) @module
|
||||||
(extern_type
|
(extern_type
|
||||||
(interface_body)))
|
(body)))
|
||||||
|
|
||||||
(import_item
|
(import_item
|
||||||
name: (id) @function
|
name: (id) @function
|
||||||
|
|
@ -27,7 +25,7 @@
|
||||||
(export_item
|
(export_item
|
||||||
name: (id) @module
|
name: (id) @module
|
||||||
(extern_type
|
(extern_type
|
||||||
(interface_body)))
|
(body)))
|
||||||
|
|
||||||
(export_item
|
(export_item
|
||||||
name: (id) @function
|
name: (id) @function
|
||||||
|
|
@ -55,7 +53,7 @@
|
||||||
(flags_items
|
(flags_items
|
||||||
name: (id) @type)
|
name: (id) @type)
|
||||||
|
|
||||||
(flags_body
|
(body
|
||||||
(id) @variable.member)
|
(id) @variable.member)
|
||||||
|
|
||||||
(variant_items
|
(variant_items
|
||||||
|
|
@ -128,8 +126,6 @@
|
||||||
"s64"
|
"s64"
|
||||||
"f32"
|
"f32"
|
||||||
"f64"
|
"f64"
|
||||||
"float32" ; deprecated
|
|
||||||
"float64" ; deprecated
|
|
||||||
"char"
|
"char"
|
||||||
"bool"
|
"bool"
|
||||||
"string"
|
"string"
|
||||||
|
|
@ -163,4 +159,13 @@
|
||||||
"<"
|
"<"
|
||||||
] @punctuation.bracket
|
] @punctuation.bracket
|
||||||
|
|
||||||
"=" @operator
|
[
|
||||||
|
(line_comment)
|
||||||
|
(block_comment)
|
||||||
|
] @comment @spell
|
||||||
|
|
||||||
|
(line_comment
|
||||||
|
(doc_comment)) @comment.documentation
|
||||||
|
|
||||||
|
(block_comment
|
||||||
|
(doc_comment)) @comment.documentation
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,5 @@
|
||||||
((comment) @injection.content
|
([
|
||||||
|
(line_comment)
|
||||||
|
(block_comment)
|
||||||
|
] @injection.content
|
||||||
(#set! injection.language "comment"))
|
(#set! injection.language "comment"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue