Skip to content

remove extra quoting. fixes #596 #597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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