haskell layer: disable ghc-check.el overlays with flycheck enabledcc
This commit is contained in:
parent
2f27a31176
commit
f56c035dea
|
@ -196,10 +196,12 @@
|
|||
(defun haskell-hook ()
|
||||
(ghc-init)
|
||||
;; Use advanced indention
|
||||
(if (not haskell-enable-shm-support)
|
||||
(turn-on-haskell-indentation)
|
||||
)
|
||||
)
|
||||
;; (if (not haskell-enable-shm-support)
|
||||
;; (turn-on-haskell-indentation))
|
||||
(when (configuration-layer/package-declaredp 'flycheck)
|
||||
;; remove overlays from ghc-check.el if flycheck is enabled
|
||||
(set-face-attribute 'ghc-face-error nil :underline nil)
|
||||
(set-face-attribute 'ghc-face-warn nil :underline nil)))
|
||||
|
||||
;; Useful to have these keybindings for .cabal files, too.
|
||||
(defun haskell-cabal-hook ()
|
||||
|
|
Loading…
Reference in a new issue