mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
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:
parent
de4fbe8e08
commit
c3603ddad1
1 changed files with 3 additions and 0 deletions
|
|
@ -1 +1,4 @@
|
|||
(document) @scope
|
||||
|
||||
(anchor) @definition
|
||||
(alias) @reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue