Fix haskell setup

This commit is contained in:
Lars Tveito 2020-03-10 20:56:53 +01:00
parent c34211c032
commit ea9ca15769

View File

@ -1162,10 +1162,27 @@
=haskell-indent=. =haskell-indent=.
#+BEGIN_SRC emacs-lisp #+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-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent) (add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
#+END_SRC #+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 ** Maude
Use =---= for comments in Maude. Use =---= for comments in Maude.