10sr преди 1 година
родител
ревизия
f863d2ae6d
променени са 1 файла, в които са добавени 7 реда и са изтрити 1 реда
  1. +7
    -1
      emacs.el

+ 7
- 1
emacs.el Целия файл

@@ -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))


Зареждане…
Отказ
Запис