Skip to content

Instantly share code, notes, and snippets.

@DreamLinuxer
Created September 27, 2019 15:44
Show Gist options
  • Save DreamLinuxer/f8aa154af8bc8956da6f7205160dab50 to your computer and use it in GitHub Desktop.
Save DreamLinuxer/f8aa154af8bc8956da6f7205160dab50 to your computer and use it in GitHub Desktop.
(require 'haskell-interactive-mode)
(require 'haskell-process)
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook '(lambda () (local-set-key (kbd "RET") 'newline-and-indent)))
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(custom-set-variables
'(haskell-process-auto-import-loaded-modules (quote t))
'(haskell-process-log (quote t))
'(haskell-process-suggest-remove-import-lines (quote t))
'(haskell-process-type (quote stack-ghci))
'(haskell-stylish-on-save t))
(setq haskell-process-args-stack-ghci
'("--ghci-options=-ferror-spans -fshow-loaded-modules"
"--no-build" "--no-load"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment