Allow auto-formatting of files to be controlled ()

This commit is contained in:
RohanHart 2020-04-09 18:58:07 +12:00 committed by GitHub
parent a7c82c865c
commit 33c21ff1fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 6 deletions

View file

@ -82,6 +82,12 @@ in the desired elisp file."
:type 'list
:group 'prelude)
(defcustom prelude-format-on-save t
"Run mode specific format on file before it's saved.
Currently only applies to tide-mode."
:type 'boolean
:group 'prelude)
(defcustom prelude-yank-indent-modes '(LaTeX-mode TeX-mode)
"Modes in which to indent regions that are yanked (or yank-popped).
Only modes that don't derive from `prog-mode' should be listed here."