Yaml: update locals (#1172)

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 commit is contained in:
Santos Gallegos 2021-04-09 19:36:19 -05:00 committed by GitHub
parent de4fbe8e08
commit c3603ddad1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1 +1,4 @@
(document) @scope
(anchor) @definition
(alias) @reference