Skip to content

Commit b4a2140

Browse files
committed
remove legacy regex for syntax highlighting
1 parent cb3f1a8 commit b4a2140

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

elixir-mode.el

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,24 +184,10 @@
184184
(zero-or-more (any "A-Z" "a-z" "_" "0-9"))))
185185
(optional (or "!" "?"))
186186
symbol-end))
187-
(operators1 . ,(rx symbol-start
188-
(or "<" ">" "+" "-" "*" "/" "!" "^" "&")
189-
symbol-end))
190-
(operators2 . ,(rx symbol-start
191-
(or
192-
"==" "!=" "<=" ">=" "&&" "||" "<>" "++" "--" "|>" "=~"
193-
"->" "<-" "|" "." "=")
194-
symbol-end))
195-
(operators3 . ,(rx symbol-start
196-
(or "<<<" ">>>" "|||" "&&&" "^^^" "~~~" "===" "!==")
197-
symbol-end))
198187
(pseudo-var . ,(rx symbol-start
199188
(or "_" "__MODULE__" "__DIR__" "__ENV__" "__CALLER__"
200189
"__block__" "__aliases__")
201190
symbol-end))
202-
(punctuation . ,(rx symbol-start
203-
(or "\\" "<<" ">>" "=>" "(" ")" ":" ";" "" "[" "]")
204-
symbol-end))
205191
(sigils . ,(rx "~" (or "B" "C" "R" "S" "b" "c" "r" "s" "w")))))
206192

207193
(defmacro elixir-rx (&rest sexps)

0 commit comments

Comments
 (0)