This website requires JavaScript.
Explore
Help
Sign in
benbot
/
nvim-treesitter
Watch
1
Star
0
Fork
You've already forked nvim-treesitter
0
mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced
2026-07-09 23:10:11 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
a76db88548
nvim-treesitter
/
queries
/
yaml
/
locals.scm
9 lines
98 B
Scheme
Raw
Normal View
History
Unescape
Escape
yaml: improve highlights and locals (#946) - 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 ```
2021-10-26 22:47:59 -05:00
[
(
stream
)
(
document
)
(
block_node
)
]
@scope
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
2021-04-09 19:36:19 -05:00
YAML: update queries (#1203) Closes https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18
2021-04-18 16:51:03 -05:00
(
anchor_name
)
@definition
(
alias_name
)
@reference
Reference in a new issue
Copy permalink