editor/format: disable format-on-save for latex

latexindent causes disruptive 'Please enter text to be indented: (press
CTRL+D when finished)' prompts, and is effectively broken.
This commit is contained in:
Henrik Lissner 2019-10-22 19:21:19 -04:00
parent 1dc75c0626
commit f1d622e0a4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -2,7 +2,9 @@
(defvar +format-on-save-enabled-modes (defvar +format-on-save-enabled-modes
'(not emacs-lisp-mode ; elisp's mechanisms are good enough '(not emacs-lisp-mode ; elisp's mechanisms are good enough
sql-mode) ; sqlformat is currently broken sql-mode ; sqlformat is currently broken
tex-mode ; latexindent is broken
latex-mode)
"A list of major modes in which to reformat the buffer upon saving. "A list of major modes in which to reformat the buffer upon saving.
If this list begins with `not', then it negates the list. If this list begins with `not', then it negates the list.