Skip to content

Commit 70e35e9

Browse files
committed
Mention aggressive-indent-mode
1 parent cbd6a58 commit 70e35e9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,15 @@ it for Clojure buffers:
286286
(add-hook 'clojure-mode-hook #'rainbow-delimiters-mode)
287287
```
288288

289+
* [aggressive-indent-mode][] automatically adjust the indentation of your code,
290+
while you're writing it. Using it together with `clojure-mode` is highly
291+
recommended. Provided you've already installed `aggressive-indent-mode` you can
292+
enable it like this:
293+
294+
```el
295+
(add-hook 'clojure-mode-hook #'aggressive-indent-mode)
296+
```
297+
289298
## REPL Interaction
290299

291300
One of the fundamental aspects of Lisps in general and Clojure in
@@ -341,3 +350,4 @@ Distributed under the GNU General Public License; type <kbd>C-h C-c</kbd> to vie
341350
[paredit]: http://mumble.net/~campbell/emacs/paredit.html
342351
[smartparens]: https://github.com/Fuco1/smartparens
343352
[RainbowDelimiters]: https://github.com/Fanael/rainbow-delimiters
353+
[aggressive-indent-mode]: https://github.com/Malabarba/aggressive-indent-mode

0 commit comments

Comments
 (0)