diff options
author | Alan Pearce | 2020-09-10 15:23:19 +0200 |
---|---|---|
committer | Alan Pearce | 2020-09-10 15:23:19 +0200 |
commit | c04023678ed544fd19cc4d8898467aac7699fc6c (patch) | |
tree | c3bec86babc6797074c0451e457d5bf28cba473b /user/emacs | |
parent | 1f7dd7ec5b9fb18a9a42138de3677b03ad9da387 (diff) | |
download | nixfiles-c04023678ed544fd19cc4d8898467aac7699fc6c.tar.lz nixfiles-c04023678ed544fd19cc4d8898467aac7699fc6c.tar.zst nixfiles-c04023678ed544fd19cc4d8898467aac7699fc6c.zip |
Emacs: initialise sqlformat hook correctly
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 2 |
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")))) |