diff --git a/init.org b/init.org index b333737..e085f10 100644 --- a/init.org +++ b/init.org @@ -1162,10 +1162,27 @@ =haskell-indent=. #+BEGIN_SRC emacs-lisp + (add-hook 'haskell-mode-hook 'interactive-haskell-mode) (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) #+END_SRC + Due to a bug in haskell-mode I have to keep this monstrosity in my config... + #+BEGIN_SRC emacs-lisp + (setq haskell-process-args-ghci + '("-ferror-spans" "-fshow-loaded-modules")) + + (setq haskell-process-args-cabal-repl + '("--ghc-options=-ferror-spans -fshow-loaded-modules")) + + (setq haskell-process-args-stack-ghci + '("--ghci-options=-ferror-spans -fshow-loaded-modules" + "--no-build" "--no-load")) + + (setq haskell-process-args-cabal-new-repl + '("--ghc-options=-ferror-spans -fshow-loaded-modules")) + #+END_SRC + ** Maude Use =---= for comments in Maude.