How can I change the color of the comments starting with
-- | in Haskell mode?
When I write a comment in Haskell I get a grey face, but when the comment starts with
-- |, as required by Haddock documentation lines, it takes a green one. I have tried to change the
Haskell Literate Comment Face to inherit from
font-lock-comment-face, but it has had no effect over the comments starting with
Ok. Now I see the problem. The face of these comments is not
Haskell Literate Comment Face, it is directly
font-lock-doc-face (?). If I change it, the comments reflect the change. But why is it like this? I would like to change the color of the doc-comments only for Haskell, not globally.