diff options
Diffstat (limited to 'queries/ruby')
| -rw-r--r-- | queries/ruby/highlights.scm | 43 |
1 files changed, 38 insertions, 5 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index af21c64ce..1485752bd 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -1,8 +1,5 @@ ; Variables (identifier) @variable -(interpolation - "#{" @punctuation.special - "}" @punctuation.special) @none ; Keywords @@ -31,6 +28,7 @@ "and" "or" "in" + "not" ] @keyword.operator [ @@ -166,13 +164,44 @@ ; Operators [ + "!" "=" + "==" + "===" + "<=>" "=>" "->" - "+" - "-" + ">>" + "<<" + ">" + "<" + ">=" + "<=" + "**" "*" "/" + "%" + "+" + "-" + "&" + "|" + "^" + "&&" + "||" + "||=" + "&&=" + "!=" + "%=" + "+=" + "-=" + "*=" + "/=" + "=~" + "!~" + "?" + ":" + ".." + "..." ] @operator [ @@ -192,4 +221,8 @@ "%i(" ] @punctuation.bracket +(interpolation + "#{" @punctuation.special + "}" @punctuation.special) @none + (ERROR) @error |
