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:
Henrik Lissner 2018-08-31 12:44:24 +02:00
parent eac0c0b09e
commit a33165d47a
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

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