mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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.
|
||||
|
Reference in New Issue
Block a user