10sr 1 anno fa
parent
commit
f863d2ae6d
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. +7
    -1
      emacs.el

+ 7
- 1
emacs.el Vedi File

@@ -1852,7 +1852,13 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."

(set-variable 'sqlformat-command 'pgformatter)
(set-variable 'sqlformat-args '("--no-extra-line"))
;; (set-variable 'sqlformat-args '("-L"))
;; Hard to use because when failed to format it does not tell how to fix that
;; (set-variable 'sqlformat-command 'sqlfluff)
;; (set-variable 'sqlformat-args '("--show-lint-violations" "-vvvv"))

;; (with-eval-after-load 'sqlformat
;; (when (fboundp 'with-venv-advice-add)
;; (with-venv-advice-add 'sqlformat-region)))

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


Caricamento…
Annulla
Salva