Skip to content

Commit

Permalink
remove extra quoting. fixes #596
Browse files Browse the repository at this point in the history
  • Loading branch information
pyr committed Apr 23, 2015
1 parent 99d94fa commit efd583f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions haskell-font-lock.el
Original file line number Diff line number Diff line change
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 efd583f

Please sign in to comment.