Add map properties highlighting

This commit is contained in:
Bruno BELANYI 2024-04-08 21:35:55 +01:00
parent d1e9875fac
commit 4cfd843564
2 changed files with 13 additions and 0 deletions

View file

@ -49,4 +49,10 @@
field: (identifier) @variable.member))
; }}}
; Expressions {{{
(map_expression
(property
field: (identifier) @property))
; }}}
; vim: sw=2 foldmethod=marker

View file

@ -0,0 +1,7 @@
foo {
field: {
// <- variable.member
key: 42,
// <- property
},
}