From 10da69de1600c8cfd5e17e6d42e18dc2639bf0d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 21 May 2021 13:53:33 +0200 Subject: Use stylish-haskell drop hindent --- config/doom/config.org | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'config') diff --git a/config/doom/config.org b/config/doom/config.org index 92bc0f9..be7f74c 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -279,10 +279,9 @@ Emacs mode for managing ledger text files #+end_src * Programming languages ** Haskell -#+begin_src emacs-lisp :tangle "packages.el" -(package! hindent) -#+end_src #+begin_src emacs-lisp -(use-package! hindent - :hook (haskell-mode . hindent-mode)) +(after! haskell-mode + (setq-hook! 'haskell-mode-hook +format-with :none) + (setq haskell-stylish-on-save t + lsp-haskell-formatting-provider "stylish-haskell")) #+end_src -- cgit v1.2.3