diff options
| author | Luke Hoersten <[email protected]> | 2015-05-11 09:45:31 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2015-05-11 09:45:31 -0500 |
| commit | abbf43598820d2ed5b703a675296e505d80d602d (patch) | |
| tree | 0c6cc57eaa5d3e71fb6e61ea2dc14b9cc092e111 /elisp/haskell-init.el | |
| parent | 3881850f00dd71599fddbf3204c60c14467975a1 (diff) | |
Lots of random changes. Stopped using Chris Done's haskell-flycheck.
Diffstat (limited to 'elisp/haskell-init.el')
| -rw-r--r-- | elisp/haskell-init.el | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/elisp/haskell-init.el b/elisp/haskell-init.el index 77fa7c3..735d788 100644 --- a/elisp/haskell-init.el +++ b/elisp/haskell-init.el @@ -3,13 +3,17 @@ ;; Require packages (require 'package-require) -(package-require '(haskell-mode flycheck)) ;; flycheck-haskell hindent shm +(package-require '(flycheck yasnippet haskell-snippets haskell-mode flycheck-haskell)) + +;; Load haskell-mode from source +;; (add-to-list 'load-path "~/Code/elisp/haskell-mode/") +;; (require 'haskell-mode-autoloads) (require 'haskell) (require 'haskell-mode) (require 'haskell-process) -(require 'haskell-flycheck) (require 'haskell-interactive-mode) +(require 'haskell-snippets) (defun haskell-who-calls (&optional prompt) "Grep the codebase to see who uses the symbol at point." @@ -51,7 +55,7 @@ (lambda () (imenu-add-menubar-index) (flycheck-mode) - (flycheck-disable-checker `haskell-ghc) + (flycheck-haskell-setup) (haskell-indentation-mode t) (subword-mode) (interactive-haskell-mode t))) @@ -64,9 +68,9 @@ '(haskell-indentation-left-offset 4) '(haskell-process-type 'cabal-repl) - ;; '(haskell-process-args-cabal-repl '("--ghc-option=-ferror-spans" "--with-ghc=ghci-ng")) - ;; '(haskell-process-path-ghci "ghci-ng") - ;; '(haskell-process-args-ghci "-ferror-spans") + '(haskell-process-args-cabal-repl '("--ghc-option=-ferror-spans" "--with-ghc=ghci-ng")) + '(haskell-process-path-ghci "ghci-ng") + '(haskell-process-args-ghci "-ferror-spans") '(haskell-process-suggest-remove-import-lines t) '(haskell-process-auto-import-loaded-modules t) '(haskell-process-log t) |
