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.
2 parents e5d3202 + 5f99a51 commit bd89438Copy full SHA for bd89438
haskell-cabal.el
@@ -100,7 +100,8 @@ By default these are:
100
;; The comment syntax can't be described simply in syntax-table.
101
;; We could use font-lock-syntactic-keywords, but is it worth it?
102
'(;; comments
103
- ("^[ \t]*--.*" . font-lock-comment-face)
+ ("^[ \t]*\\(--\\)\\(.*\\)"
104
+ (1 font-lock-comment-delimiter-face) (2 font-lock-comment-face))
105
;; fields ending in colon
106
("^ *\\([^ \t:]+\\):\\( +\\|$\\)" (1 font-lock-keyword-face))
107
;; stanzas that start a line, followed by an identifier
0 commit comments