Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. (require 'haskell-interactive-mode)
  2. (require 'haskell-process)
  3. (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
  4. (add-hook 'haskell-mode-hook '(lambda () (local-set-key (kbd "RET") 'newline-and-indent)))
  5. (add-hook 'haskell-mode-hook 'interactive-haskell-mode)
  6.  
  7. (custom-set-variables
  8. '(haskell-process-auto-import-loaded-modules (quote t))
  9. '(haskell-process-log (quote t))
  10. '(haskell-process-suggest-remove-import-lines (quote t))
  11. '(haskell-process-type (quote stack-ghci))
  12. '(haskell-stylish-on-save t))
  13.  
  14. (setq haskell-process-args-stack-ghci
  15. '("--ghci-options=-ferror-spans -fshow-loaded-modules"
  16. "--no-build" "--no-load"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement