From ea9ca157690d0eb803a2d9e29d529c277610b07e Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Tue, 10 Mar 2020 20:56:53 +0100 Subject: [PATCH] Fix haskell setup --- init.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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.