Skip to content

Commit 98d0e19

Browse files
authored
Merge pull request #1805 from jasagredo/jasagredo/sublibs-and-program-options
Add new cabal stanzas to font-lock
2 parents 20d4e23 + 55babcb commit 98d0e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

haskell-cabal.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ By default these are:
102102
'(("^[ \t]*--.*" . font-lock-comment-face)
103103
("^ *\\([^ \t:]+\\):" (1 font-lock-keyword-face))
104104
("^\\(Library\\)[ \t]*\\({\\|$\\)" (1 font-lock-keyword-face))
105-
("^\\(Executable\\|Test-Suite\\|Benchmark\\|Common\\|package\\)[ \t]+\\([^\n \t]*\\)"
105+
("^\\(Library\\|Executable\\|Test-Suite\\|Benchmark\\|Common\\|package\\)[ \t]+\\([^\n \t]*\\)"
106106
(1 font-lock-keyword-face) (2 font-lock-function-name-face))
107107
("^\\(Flag\\|install-dirs\\|repository\\)[ \t]+\\([^\n \t]*\\)"
108108
(1 font-lock-keyword-face) (2 font-lock-constant-face))
109109
("^\\(Source-Repository\\)[ \t]+\\(head\\|this\\)"
110110
(1 font-lock-keyword-face) (2 font-lock-constant-face))
111-
("^\\(haddock\\|source-repository-package\\|program-locations\\|program-default-options\\)\\([ \t]\\|$\\)"
111+
("^\\(haddock\\|source-repository-package\\|program-options\\|program-locations\\|program-default-options\\)\\([ \t]\\|$\\)"
112112
(1 font-lock-keyword-face))
113113
("^ *\\(if\\)[ \t]+.*\\({\\|$\\)" (1 font-lock-keyword-face))
114114
("^ *\\(}[ \t]*\\)?\\(else\\)[ \t]*\\({\\|$\\)"

0 commit comments

Comments
 (0)