mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
feat(wit): add folds, missing highlights
References: https://github.com/liamwh/tree-sitter-wit/blob/main/grammar.js79f3646325/crates/extension_api/wit/since_v0.0.4/extension.wit436ad58923/wit/mqtt.wita068bfe064/crates/wasi-nn/wit/wasi-nn.wit
This commit is contained in:
parent
067415e971
commit
14dff71d38
2 changed files with 30 additions and 4 deletions
12
queries/wit/folds.scm
Normal file
12
queries/wit/folds.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
(world_items)
|
||||
(world_body)
|
||||
(interface_items)
|
||||
(interface_body)
|
||||
] @fold
|
||||
|
||||
(world_items
|
||||
[
|
||||
(use_item)
|
||||
(import_item)
|
||||
])+ @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue