Skip to content

Commit

Permalink
Merge pull request #597 from pyr/fix/596
Browse files Browse the repository at this point in the history
remove extra quoting. fixes #596
  • Loading branch information
gracjan committed Apr 23, 2015
2 parents 99d94fa + efd583f commit 5d770f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions haskell-font-lock.el
Expand Up @@ -89,43 +89,43 @@ This is the case if the \".\" is part of a \"forall <tvar> . <type>\"."
(string= " " (string (char-before start))))))))

(defface haskell-keyword-face
'((t :inherit 'font-lock-keyword-face))
'((t :inherit font-lock-keyword-face))
"Face used to highlight Haskell keywords."
:group 'haskell)

(defface haskell-constructor-face
'((t :inherit 'font-lock-type-face))
'((t :inherit font-lock-type-face))
"Face used to highlight Haskell constructors."
:group 'haskell)

;; This used to be `font-lock-variable-name-face' but it doesn't result in
;; a highlighting that's consistent with other modes (it's mostly used
;; for function defintions).
(defface haskell-definition-face
'((t :inherit 'font-lock-function-name-face))
'((t :inherit font-lock-function-name-face))
"Face used to highlight Haskell definitions."
:group 'haskell)

;; This is probably just wrong, but it used to use
;; `font-lock-function-name-face' with a result that was not consistent with
;; other major modes, so I just exchanged with `haskell-definition-face'.
(defface haskell-operator-face
'((t :inherit 'font-lock-variable-name-face))
'((t :inherit font-lock-variable-name-face))
"Face used to highlight Haskell operators."
:group 'haskell)

(defface haskell-pragma-face
'((t :inherit 'font-lock-preprocessor-face))
'((t :inherit font-lock-preprocessor-face))
"Face used to highlight Haskell pragmas."
:group 'haskell)

(defface haskell-default-face
'((t :inherit 'default))
'((t :inherit default))
"Face used to highlight ordinary Haskell code."
:group 'haskell)

(defface haskell-literate-comment-face
'((t :inherit 'font-lock-doc-face))
'((t :inherit font-lock-doc-face))
"Face with which to fontify literate comments.
Inherit from `default' to avoid fontification of them."
:group 'haskell)
Expand Down

0 comments on commit 5d770f8

Please sign in to comment.