summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2022-10-25 05:45:22 +0200
committerAlan Pearce2022-10-25 05:45:22 +0200
commit954178d627dadc8c106416f5ccbad49061e699a8 (patch)
treed92a7ffdff6f60d0d2fb92d4b5e39dd208051b10 /user/emacs
parent9a9af719aba5363e45a4800c38332e10d34d25fa (diff)
downloadnixfiles-954178d627dadc8c106416f5ccbad49061e699a8.tar.lz
nixfiles-954178d627dadc8c106416f5ccbad49061e699a8.tar.zst
nixfiles-954178d627dadc8c106416f5ccbad49061e699a8.zip
Emacs: initialise format-all correctly
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 5292d85b..ed94d135 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1034,7 +1034,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             sh-mode-hook
             sql-mode-hook
             toml-mode-hook
-            typescript-mode-hook) #'format-all-ensure-formatter)
+            typescript-mode-hook))
+  :gfhook #'format-all-ensure-formatter
   :config (progn
             (setq format-all-show-errors 'never)))