diff --git a/grammars/elixir.cson b/grammars/elixir.cson index 7dcfebc..0226eec 100644 --- a/grammars/elixir.cson +++ b/grammars/elixir.cson @@ -502,6 +502,11 @@ } ] } + { + 'comment': 'matches: | ++ -- ** \\ <- <> << >> :: .. |> ~ => ->' + 'match': '\\+\\+|\\-\\-|\\*\\*|\\\\\\\\|\\<\\-|\\<\\>|\\<\\<|\\>\\>|\\:\\:|\\.\\.|\\|>|~|=>|->|\\|' + 'name': 'keyword.operator.other.elixir' + } { 'match': '\\+=|\\-=|\\|\\|=|~=|&&=' 'name': 'keyword.operator.assignment.augmented.elixir' @@ -522,10 +527,6 @@ 'match': '(\\*|\\+|\\-|/)' 'name': 'keyword.operator.arithmetic.elixir' } - { - 'match': '\\||\\+\\+|\\-\\-|\\*\\*|\\\\\\\\|\\<\\-|\\<\\>|\\<\\<|\\>\\>|\\:\\:|\\.\\.|\\|>|~|=>' - 'name': 'keyword.operator.other.elixir' - } { 'match': '=' 'name': 'keyword.operator.assignment.elixir'