diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2021-05-21 13:53:33 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2021-05-29 20:15:27 +0200 |
commit | 10da69de1600c8cfd5e17e6d42e18dc2639bf0d8 (patch) | |
tree | 35a272ed9b22dfa2eb3d6fc856f3d59a27f2d3b6 /config/doom | |
parent | bab571782103adcd6caf6158949b2595f2050450 (diff) | |
download | dotfiles-10da69de1600c8cfd5e17e6d42e18dc2639bf0d8.tar.gz dotfiles-10da69de1600c8cfd5e17e6d42e18dc2639bf0d8.tar.bz2 dotfiles-10da69de1600c8cfd5e17e6d42e18dc2639bf0d8.zip |
Use stylish-haskell drop hindent
Diffstat (limited to 'config/doom')
-rw-r--r-- | config/doom/config.org | 9 |
1 files changed, 4 insertions, 5 deletions
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 |