Skip to content

Commit cb1b3ad

Browse files
rodrigoddalmeidakeathley
authored andcommitted
added support for ligatures
1 parent f5a6fcd commit cb1b3ad

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

grammars/elixir.cson

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,11 @@
502502
}
503503
]
504504
}
505+
{
506+
'comment': 'matches: | ++ -- ** \\ <- <> << >> :: .. |> ~ => ->'
507+
'match': '\\+\\+|\\-\\-|\\*\\*|\\\\\\\\|\\<\\-|\\<\\>|\\<\\<|\\>\\>|\\:\\:|\\.\\.|\\|>|~|=>|->|\\|'
508+
'name': 'keyword.operator.other.elixir'
509+
}
505510
{
506511
'match': '\\+=|\\-=|\\|\\|=|~=|&&='
507512
'name': 'keyword.operator.assignment.augmented.elixir'
@@ -522,10 +527,6 @@
522527
'match': '(\\*|\\+|\\-|/)'
523528
'name': 'keyword.operator.arithmetic.elixir'
524529
}
525-
{
526-
'match': '\\||\\+\\+|\\-\\-|\\*\\*|\\\\\\\\|\\<\\-|\\<\\>|\\<\\<|\\>\\>|\\:\\:|\\.\\.|\\|>|~|=>'
527-
'name': 'keyword.operator.other.elixir'
528-
}
529530
{
530531
'match': '='
531532
'name': 'keyword.operator.assignment.elixir'

0 commit comments

Comments
 (0)