mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
feat(wit)!: update parser and queries
Breaking change: `(package_decl)` renamed to `(decl_head)`
This commit is contained in:
parent
78bebef150
commit
17f039f472
2 changed files with 9 additions and 3 deletions
|
|
@ -2572,7 +2572,7 @@ return {
|
|||
},
|
||||
wit = {
|
||||
install_info = {
|
||||
revision = 'v1.3.0',
|
||||
revision = 'v1.4.0',
|
||||
url = 'https://github.com/bytecodealliance/tree-sitter-wit',
|
||||
},
|
||||
maintainers = { '@mkatychev' },
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
(ty
|
||||
(id)) @type
|
||||
|
||||
(package_decl
|
||||
(decl_head
|
||||
(id) @module)
|
||||
|
||||
(version) @string.special
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
"/"
|
||||
] @punctuation.delimiter)
|
||||
|
||||
(package_decl
|
||||
(decl_head
|
||||
[
|
||||
"@"
|
||||
"/"
|
||||
|
|
@ -121,6 +121,11 @@
|
|||
|
||||
"func" @keyword.function
|
||||
|
||||
(external_id
|
||||
"@" @punctuation.special
|
||||
"external-id" @attribute.builtin
|
||||
id: (string_literal) @string)
|
||||
|
||||
[
|
||||
"type"
|
||||
"interface"
|
||||
|
|
@ -168,6 +173,7 @@
|
|||
"list"
|
||||
"option"
|
||||
"result"
|
||||
"map"
|
||||
"borrow"
|
||||
"future"
|
||||
"stream"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue