diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2021-04-24 14:56:25 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2021-04-24 15:32:09 +0200 |
commit | 317dadd65bc37024d3848764d47bf4adbf7faf40 (patch) | |
tree | 6cbdb5b66b6b3076fa48058a1b4d09f0484cd1f7 /config/doom | |
parent | c79cb9ebf7bacf366091636960e7b397b50abba2 (diff) | |
download | dotfiles-317dadd65bc37024d3848764d47bf4adbf7faf40.tar.gz dotfiles-317dadd65bc37024d3848764d47bf4adbf7faf40.tar.bz2 dotfiles-317dadd65bc37024d3848764d47bf4adbf7faf40.zip |
Haskell config
Diffstat (limited to 'config/doom')
-rw-r--r-- | config/doom/config.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/doom/config.org b/config/doom/config.org index 0efa051..dff61c9 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -216,3 +216,19 @@ Shamelessly copied from https://tecosaur.github.io/emacs-config/#dictionary (add-hook 'message-send-mail-hook 'set-smtp-server)) #+end_src + +* Programming languages +** Haskell +#+begin_src emacs-lisp :tangle "packages.el" +(package! hindent) +#+end_src +#+begin_src emacs-lisp +(after! haskell-mode + (setq haskell-process-args-cabal-repl + '("--ghc-option=-ferror-spans" + "--ghc-option=-dynamic") + dante-repl-command-line '("cabal" "v2-repl" dante-target "--ghc-options=-dynamic"))) + +(use-package! hindent + :hook (haskell-mode . hindent-mode)) +#+end_src |