mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 04:20:09 -04:00
- More scopes
- Highlight strings as strings
- Recognize more keys/fields
Improvements can be seen with this weird yaml:
```yaml
{ foo: bar }
---
{a: [b, c], [d, e]: f}
---
- { single line, a: b}
- { multi
line, a: b}
---
"fooo": bar
'foo': bar
one: two
```
8 lines
98 B
Scheme
8 lines
98 B
Scheme
[
|
|
(stream)
|
|
(document)
|
|
(block_node)
|
|
] @scope
|
|
|
|
(anchor_name) @definition
|
|
(alias_name) @reference
|