From bfc6c995404def9b01055df90f016d1a3be17ce5 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 8 Dec 2025 11:27:09 +0100 Subject: fix(ruby): highlighting for string-literal symbols (#8317) --- runtime/queries/ruby/highlights.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2