all repos — nixfiles @ c04023678ed544fd19cc4d8898467aac7699fc6c

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

Emacs: initialise sqlformat hook correctly
Alan Pearce alan@alanpearce.eu
Thu, 10 Sep 2020 15:23:19 +0200
commit

c04023678ed544fd19cc4d8898467aac7699fc6c

parent

1f7dd7ec5b9fb18a9a42138de3677b03ad9da387

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

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -920,7 +920,7 @@ :config (progn             (setq prettier-js-show-errors 'echo)))
 
 (use-package sqlformat
-  :ghook ('sql-mode-hook sqlformat-on-save-mode)
+  :ghook ('sql-mode-hook #'sqlformat-on-save-mode)
   :config (progn
             (setq sqlformat-command 'pgformatter
                   sqlformat-args '("-s2"))))