summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2020-09-10 15:23:19 +0200
committerAlan Pearce2020-09-10 15:23:19 +0200
commitc04023678ed544fd19cc4d8898467aac7699fc6c (patch)
treec3bec86babc6797074c0451e457d5bf28cba473b /user
parent1f7dd7ec5b9fb18a9a42138de3677b03ad9da387 (diff)
downloadnixfiles-c04023678ed544fd19cc4d8898467aac7699fc6c.tar.lz
nixfiles-c04023678ed544fd19cc4d8898467aac7699fc6c.tar.zst
nixfiles-c04023678ed544fd19cc4d8898467aac7699fc6c.zip
Emacs: initialise sqlformat hook correctly
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 31e06e4d..159c260d 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -920,7 +920,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (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"))))