We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0d0466 commit 73ed57bCopy full SHA for 73ed57b
elixir-mode.el
@@ -182,6 +182,7 @@
182
(zero-or-more (any "A-Z" "a-z" "_" "0-9"))))
183
(optional (or "!" "?"))
184
symbol-end))
185
+ (arrows . ,(rx (or "->" "<-" "=>" "|>")))
186
(pseudo-var . ,(rx symbol-start
187
(optional (or "%" "&"))
188
(or "_" "__MODULE__" "__DIR__" "__ENV__" "__CALLER__"
@@ -435,6 +436,10 @@ is used to limit the scan."
435
436
(,(elixir-rx (group pseudo-var))
437
1 font-lock-constant-face)
438
439
+ ;; Arrows
440
+ (,(elixir-rx (group arrows))
441
+ 1 font-lock-keyword-face)
442
+
443
;; Code points
444
(,(elixir-rx (group code-point))
445
1 font-lock-negation-char-face)))
0 commit comments