Created
September 27, 2019 15:44
-
-
Save DreamLinuxer/f8aa154af8bc8956da6f7205160dab50 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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