haskell-mode: activate flycheck-mode

This commit is contained in:
Henrik Lissner 2016-04-02 13:22:49 -04:00
parent 457bcc313b
commit 10c7444a79

View file

@ -4,7 +4,7 @@
:mode ("\\.hs$" . haskell-mode) :mode ("\\.hs$" . haskell-mode)
:init :init
(define-repl! haskell-mode switch-to-haskell) (define-repl! haskell-mode switch-to-haskell)
(add-hook 'haskell-mode-hook 'interactive-haskell-mode) (add-hook! haskell-mode '(interactive-haskell-mode flycheck-mode))
:config :config
;; haskell-mode complains that this function isn't defined, and it isn't! ;; haskell-mode complains that this function isn't defined, and it isn't!
(defun haskell-mode-after-save-handler ())) (defun haskell-mode-after-save-handler ()))