From abe28c99bd9d3326fd53c295750d1fa0fcab4d66 Mon Sep 17 00:00:00 2001 From: Gracjan Polak Date: Wed, 21 Jan 2015 21:28:48 +0100 Subject: [PATCH] Operator `M.v` font lock. Font lock for `M.v` should be operator face same as `v`. --- haskell-font-lock.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/haskell-font-lock.el b/haskell-font-lock.el index 97f5d204f..0b4efc373 100644 --- a/haskell-font-lock.el +++ b/haskell-font-lock.el @@ -429,9 +429,12 @@ Returns keywords suitable for `font-lock-keywords'." ("(\\(,*\\|->\\))" 0 haskell-constructor-face) ("\\[\\]" 0 haskell-constructor-face) ;; Expensive. + (,(concat "`" varid "`") 0 haskell-operator-face) + (,(concat "`" conid "`") 0 haskell-operator-face) + (,(concat "`" qvarid "`") 0 haskell-operator-face) + (,(concat "`" qconid "`") 0 haskell-operator-face) (,qvarid 0 haskell-default-face) (,qconid 0 haskell-constructor-face) - (,(concat "\`" varid "\`") 0 haskell-operator-face) ;; Expensive. (,conid 0 haskell-constructor-face)