diff options
author | Alexei Sholik <alcosholik@gmail.com> | 2014-09-10 20:32:40 +0300 |
---|---|---|
committer | Alexei Sholik <alcosholik@gmail.com> | 2014-09-10 20:32:40 +0300 |
commit | a5e8f686cea05a44f62423cfdb5c628f452bb55a (patch) | |
tree | 241e2a71b204b1d04c95159fb86218d1d37ff516 /pygments | |
parent | 04e47f0f5ebd530eb9bc4380848d31279f01fb0b (diff) | |
download | pygments-a5e8f686cea05a44f62423cfdb5c628f452bb55a.tar.gz |
[Elixir] Add the last batch of new operators introduced just before the 1.0.0 release.
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/lexers/functional.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pygments/lexers/functional.py b/pygments/lexers/functional.py index ed63be44..9b4d26c2 100644 --- a/pygments/lexers/functional.py +++ b/pygments/lexers/functional.py @@ -3184,10 +3184,14 @@ class ElixirLexer(RegexLexer): PSEUDO_VAR = ['_', '__MODULE__', '__DIR__', '__ENV__', '__CALLER__'] - OPERATORS3 = ['<<<', '>>>', '|||', '&&&', '^^^', '~~~', '===', '!=='] + + OPERATORS3 = [ + '<<<', '>>>', '|||', '&&&', '^^^', '~~~', '===', '!==', + '~>>', '<~>', '\|~>', '<\|>', + ] OPERATORS2 = [ '==', '!=', '<=', '>=', '&&', '||', '<>', '++', '--', '|>', '=~', - '->', '<-', '|', '.', '=' + '->', '<-', '|', '.', '=', '~>', '<~', ] OPERATORS1 = ['<', '>', '+', '-', '*', '/', '!', '^', '&'] |