diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/elixir/highlights.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/runtime/queries/elixir/highlights.scm b/runtime/queries/elixir/highlights.scm index a882fb63..08e09f37 100644 --- a/runtime/queries/elixir/highlights.scm +++ b/runtime/queries/elixir/highlights.scm @@ -48,10 +48,17 @@ (nil) @variable.property ]) -; * capture operand +; * capture operator (unary_operator operator: "&" - operand: (integer) @operator) + operand: [ + (integer) @operator + (binary_operator + left: [ + (call target: (dot left: (_) right: (identifier) @function)) + (identifier) @function + ] operator: "/" right: (integer) @operator) + ]) (operator_identifier) @operator |