Browse Source

Add sqlformat config

master
10sr 1 year ago
parent
commit
6e572d92b4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el View File

@@ -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 (add-to-list 'auto-mode-alist
'("\\.hql\\'" . sql-mode)) '("\\.hql\\'" . sql-mode))


(set-variable 'sqlformat-command 'pgformatter)

(when (fboundp 'git-command) (when (fboundp 'git-command)
(define-key ctl-x-map "g" 'git-command)) (define-key ctl-x-map "g" 'git-command))




Loading…
Cancel
Save