diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/doom/config.org | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/doom/config.org b/config/doom/config.org index 6caedcb..6d54f72 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -526,6 +526,19 @@ Emacs mode for managing ledger text files #+begin_src emacs-lisp :tangle "packages.el" (package! emacsql-psql) #+end_src + +#+begin_src emacs-lisp +(after! format-all + (define-format-all-formatter sqlformat + (:executable "pg_format") + (:install) + (:modes sql-mode) + (:format + (format-all--buffer-easy + executable + "-s2" "-g" "-U2" + "-")))) +#+end_src ** WEB #+begin_src emacs-lisp (after! web-mode |