all repos — nixfiles @ 954178d627dadc8c106416f5ccbad49061e699a8

System and user configuration, managed by nix and home-manager

Emacs: initialise format-all correctly
Alan Pearce alan@alanpearce.eu
Tue, 25 Oct 2022 05:45:22 +0200
commit

954178d627dadc8c106416f5ccbad49061e699a8

parent

9a9af719aba5363e45a4800c38332e10d34d25fa

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1034,7 +1034,8 @@ sgml-mode-hook             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)))