From 4bef7ef94648265f90f39e946836ad93affcec3a Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 25 May 2022 20:59:31 +0200 Subject: feat(sterni/emacs): default to ormolu as Haskell formatter Change-Id: I4ce9c190e812cae56c00745e703fe3cc17755223 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5673 Autosubmit: sterni Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/emacs/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'users/sterni') diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index ef5b929b86a9..9141a95d19ec 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -239,7 +239,10 @@ (use-package lsp-mode :hook ((haskell-mode . lsp-deferred)) :commands (lsp lsp-deferred)) -(use-package lsp-haskell) +(use-package lsp-haskell + :after lsp-mode + :custom + lsp-haskell-formatting-provider "ormolu") (use-package urweb-mode) (use-package bqn-mode -- cgit 1.4.1