diff options
author | sterni <sternenseemann@systemli.org> | 2022-05-25T18·59+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-05-26T11·47+0000 |
commit | 4bef7ef94648265f90f39e946836ad93affcec3a (patch) | |
tree | cb260da4c5646d7c4f912fa6d97b929b848b2141 /users/sterni/emacs | |
parent | 71407ab2a6807609b7fc50fcf5ddc6b7eec289af (diff) |
feat(sterni/emacs): default to ormolu as Haskell formatter r/4125
Change-Id: I4ce9c190e812cae56c00745e703fe3cc17755223 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5673 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/emacs')
-rw-r--r-- | users/sterni/emacs/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
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 |