fix(ruby): highlighting for string-literal symbols (#8317)

This commit is contained in:
Cameron 2025-12-08 11:27:09 +01:00 committed by GitHub
parent 20db421f5f
commit bfc6c99540
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,10 +186,14 @@
[
(bare_symbol)
(simple_symbol)
(delimited_symbol)
(hash_key_symbol)
] @string.special.symbol
(delimited_symbol
":\"" @string.special.symbol
(string_content) @string.special.symbol
"\"" @string.special.symbol)
(regex
(string_content) @string.regexp)