aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/queries/ruby/highlights.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/queries/ruby/highlights.scm b/runtime/queries/ruby/highlights.scm
index a1a2c250d..0472df092 100644
--- a/runtime/queries/ruby/highlights.scm
+++ b/runtime/queries/ruby/highlights.scm
@@ -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)