diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-01-20 21:23:36 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-01-21 12:40:45 +0100 |
| commit | 99ecb46592f8e9a3a8b56ff2c4fd18f1eff4a5af (patch) | |
| tree | 5475ea002c862252d16c8e5315a909e0144c7636 | |
| parent | 76447498b9a950d3cdfe2f1439d2a45b118976f7 (diff) | |
Ruby highlights: symbol -> simple_symbol, hash_key_symbol, delimited_symbol
Account for https://github.com/tree-sitter/tree-sitter-ruby/pull/152
| -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 cef7fa76..80715e67 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 |
