From 317dadd65bc37024d3848764d47bf4adbf7faf40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 24 Apr 2021 14:56:25 +0200 Subject: Haskell config --- config/doom/config.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'config/doom') 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 -- cgit v1.2.3