summaryrefslogtreecommitdiff
path: root/pygments/lexers/functional.py
diff options
context:
space:
mode:
authorAlexei Sholik <alcosholik@gmail.com>2014-09-10 20:32:40 +0300
committerAlexei Sholik <alcosholik@gmail.com>2014-09-10 20:32:40 +0300
commita5e8f686cea05a44f62423cfdb5c628f452bb55a (patch)
tree241e2a71b204b1d04c95159fb86218d1d37ff516 /pygments/lexers/functional.py
parent04e47f0f5ebd530eb9bc4380848d31279f01fb0b (diff)
downloadpygments-a5e8f686cea05a44f62423cfdb5c628f452bb55a.tar.gz
[Elixir] Add the last batch of new operators introduced just before the 1.0.0 release.
Diffstat (limited to 'pygments/lexers/functional.py')
-rw-r--r--pygments/lexers/functional.py8
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 = ['<', '>', '+', '-', '*', '/', '!', '^', '&']