Skip to content

Commit 01a68b7

Browse files
committed
Fontify True/False in cabal mode
1 parent 4e126e1 commit 01a68b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

haskell-cabal.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@
9898
(1 font-lock-keyword-face) (2 font-lock-constant-face))
9999
("^ *\\(if\\)[ \t]+.*\\({\\|$\\)" (1 font-lock-keyword-face))
100100
("^ *\\(}[ \t]*\\)?\\(else\\)[ \t]*\\({\\|$\\)"
101-
(2 font-lock-keyword-face))))
101+
(2 font-lock-keyword-face))
102+
("\\<\\(?:True\\|False\\)\\>"
103+
(0 font-lock-constant-face))))
102104

103105
(defvar haskell-cabal-buffers nil
104106
"List of Cabal buffers.")

0 commit comments

Comments
 (0)