mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Fix haskell setup
This commit is contained in:
parent
c34211c032
commit
ea9ca15769
17
init.org
17
init.org
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user