Skip to content

Commit abe28c9

Browse files
committed
Operator M.v font lock.
Font lock for `M.v` should be operator face same as `v`.
1 parent 11e46b3 commit abe28c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

haskell-font-lock.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,12 @@ Returns keywords suitable for `font-lock-keywords'."
429429
("(\\(,*\\|->\\))" 0 haskell-constructor-face)
430430
("\\[\\]" 0 haskell-constructor-face)
431431
;; Expensive.
432+
(,(concat "`" varid "`") 0 haskell-operator-face)
433+
(,(concat "`" conid "`") 0 haskell-operator-face)
434+
(,(concat "`" qvarid "`") 0 haskell-operator-face)
435+
(,(concat "`" qconid "`") 0 haskell-operator-face)
432436
(,qvarid 0 haskell-default-face)
433437
(,qconid 0 haskell-constructor-face)
434-
(,(concat "\`" varid "\`") 0 haskell-operator-face)
435438
;; Expensive.
436439
(,conid 0 haskell-constructor-face)
437440

0 commit comments

Comments
 (0)