diff options
author | Alan Pearce | 2022-10-17 11:40:00 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-17 11:40:00 +0200 |
commit | 2040d0cc03954bf620b18bb11515173932444c89 (patch) | |
tree | 6fd3df76a448c63daa5fab0c8c63dad6e2fedb32 /user | |
parent | 10731104d210e82a20d337eeebc636d9fe59456f (diff) | |
download | nixfiles-2040d0cc03954bf620b18bb11515173932444c89.tar.lz nixfiles-2040d0cc03954bf620b18bb11515173932444c89.tar.zst nixfiles-2040d0cc03954bf620b18bb11515173932444c89.zip |
Emacs: configure apheleia
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index e0b4d24d..5292d85b 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -1038,6 +1038,13 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :config (progn (setq format-all-show-errors 'never))) +(use-package apheleia + :config (progn + (setf (alist-get 'shfmt apheleia-formatters) + '("shfmt"))) + :init (progn + (apheleia-global-mode +1))) + ;;; E-mail (declare-function sendmail-send-it "sendmail") |