From 815745acc9f9ba91c7af84058005d4e5ab072bcd Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sun, 14 Jun 2020 12:26:15 -0400 Subject: [PATCH] Add aggressive-indent-mode --- emacs/init.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index 6a0ad7c..879b5cb 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2704,6 +2704,14 @@ Syntax checking etc.: (setq indent-tabs-mode nil)) #+END_SRC +* aggressive-indent-mode +Like [[help:electric-indent-mode][electric-indent-mode]] but reindents after every change: +#+BEGIN_SRC emacs-lisp + (use-package aggressive-indent + :hook ((clojure-mode . aggressive-indent-mode) + (emacs-lisp-mode . aggressive-indent-mode))) +#+END_SRC + * JSON #+BEGIN_SRC emacs-lisp (use-package json-mode