summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el index af817ee..ddbb53f 100644 --- a/init.el +++ b/init.el
@@ -617,7 +617,8 @@
617 617
618 ;; Use a dumb formatter on modes that `apheleia' doesn't work for. 618 ;; Use a dumb formatter on modes that `apheleia' doesn't work for.
619 (hook-defun dumb-auto-format before-save-hook 619 (hook-defun dumb-auto-format before-save-hook
620 (setq stupid-modes '(makefile-mode)) 620 (setq stupid-modes '(makefile-mode
621 org-mode))
621 ;; If there's no apheleia formatter for the mode, just indent the buffer. 622 ;; If there's no apheleia formatter for the mode, just indent the buffer.
622 (unless (or (apply #'derived-mode-p stupid-modes) 623 (unless (or (apply #'derived-mode-p stupid-modes)
623 (and (fboundp 'apheleia--get-formatter-command) 624 (and (fboundp 'apheleia--get-formatter-command)