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

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)