Skip to content

Commit bb8354b

Browse files
committed
Fix highlighting atom which contains '@', '!', '?'
1 parent 8dcfb9a commit bb8354b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elixir-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
(or
128128
(and
129129
(any "a-z" "A-Z" "_" "\"" "'")
130-
(zero-or-more (any "a-z" "A-Z" "0-9" "_" "\"" "'")))
130+
(zero-or-more (any "a-z" "A-Z" "0-9" "_" "\"" "'" "!" "@" "?")))
131131
(and "\"" (one-or-more (not (any "\""))) "\"")
132132
(and "'" (one-or-more (not (any "'"))) "'"))))
133133
(builtin . ,(rx (or line-start (not (any ".")))

0 commit comments

Comments
 (0)