Highlight ruby symbols as @property

Distinguish from @constant. Closes #874
This commit is contained in:
Jeffrey Chupp 2021-01-25 13:49:39 -05:00 committed by Stephan Seitz
parent 6d2b1fc566
commit 76d4a2a0c4

View file

@ -138,10 +138,13 @@
(bare_symbol)
(heredoc_beginning)
(heredoc_end)
] @constant
[
(simple_symbol)
(delimited_symbol)
(hash_key_symbol)
] @constant
] @property
(pair key: (hash_key_symbol) ":" @constant)
(regex) @string.regex