From 6e572d92b4031c4fd2a311a916290571a8c99a70 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 18 Jul 2023 14:38:30 +0900 Subject: [PATCH] Add sqlformat config --- emacs.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.el b/emacs.el index 1b244e2..766e804 100644 --- a/emacs.el +++ b/emacs.el @@ -1841,6 +1841,8 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." (add-to-list 'auto-mode-alist '("\\.hql\\'" . sql-mode)) +(set-variable 'sqlformat-command 'pgformatter) + (when (fboundp 'git-command) (define-key ctl-x-map "g" 'git-command))