aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/doom/config.org16
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