editor/format: disable in sql-mode by default
sqlformat appears to be broken. It either throws an IndexError or formats SQL incorrectly and/or poorly.
This commit is contained in:
parent
eac0c0b09e
commit
a33165d47a
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
;;; editor/format/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar +format-on-save-enabled-modes '(not emacs-lisp-mode)
|
||||
(defvar +format-on-save-enabled-modes
|
||||
'(not emacs-lisp-mode ; elisp's mechanisms are good enough
|
||||
sql-mode) ; sqlformat is currently broken
|
||||
"A list of major modes in which to enable `format-all-mode'.
|
||||
|
||||
This mode will auto-format buffers when you save them.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue