Skip to content

Instantly share code, notes, and snippets.

@cmoore
Created November 22, 2011 20:28
Show Gist options
  • Save cmoore/1386835 to your computer and use it in GitHub Desktop.
Save cmoore/1386835 to your computer and use it in GitHub Desktop.
(defun clm*flymake-colors ()
(custom-set-faces
'(flymake-errline ((((class color)) (:underline "Red"))))
'(flymake-warnline ((((class color)) (:underline "Orange"))))))
(load (expand-file-name "~/emacs/haskell-mode/haskell-site-file.el"))
(require 'inf-haskell)
(load (expand-file-name "~/clones/ghc-mod/elisp/ghc"))
(add-hook 'haskell-mode-hook (lambda nil
(clm*flymake-colors)
;; ARG STOPIT
(defun haskell-flymake-init nil nil)
(ghc-init)
(flymake-mode)))
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
(add-hook 'haskell-mode-hook 'font-lock-mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment