Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions haskell-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ alignment and can thus lead to nasty surprises w.r.t layout."
:group 'haskell
:type 'boolean)

(defconst haskell-font-lock-symbols-alist
(defcustom haskell-font-lock-symbols-alist
'(("\\" . "λ")
("not" . "¬")
("->" . "→")
Expand Down Expand Up @@ -75,7 +75,9 @@ COMPONENTS is a representation specification suitable as an argument to
`compose-region'.
PREDICATE if present is a function of one argument (the start position
of the symbol) which should return non-nil if this mapping should
be disabled at that position.")
be disabled at that position."
:type '(alist string string)
:group 'haskell)

(defun haskell-font-lock-dot-is-not-composition (start)
"Return non-nil if the \".\" at START is not a composition operator.
Expand Down