From c04023678ed544fd19cc4d8898467aac7699fc6c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 10 Sep 2020 15:23:19 +0200 Subject: Emacs: initialise sqlformat hook correctly --- user/emacs/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")))) -- cgit 1.4.1