diff options
Diffstat (limited to 'queries/ruby')
| -rw-r--r-- | queries/ruby/highlights.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index cef7fa767..80715e67c 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -138,10 +138,12 @@ (bare_symbol) (heredoc_beginning) (heredoc_end) - (symbol) + (simple_symbol) + (delimited_symbol) + (hash_key_symbol) ] @constant -(pair key: (symbol) ":" @constant) +(pair key: (hash_key_symbol) ":" @constant) (regex) @string.regex (escape_sequence) @string.escape (integer) @number |
