| Age | Commit message (Collapse) | Author |
|
- 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
```
|
|
Closes https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18
|
|
The parser doesn't break the symbols in `*` `&` from the name of
anchors/aliases. So go to definition doesn't work, but highlight of
usage does :D
Test with
```yaml
Defaults: &defaults
Company: foo
Item: 123
Computer:
<<: *defaults
<<: *defaults
Price: 3000
```
Ref https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18
|
|
This is so incremental selection works
|