Automatic indenting

aggressive-indent-mode will automatically adjusted indentation as you type.

Edit .spacemacs and add this line one of these settings into the dotspacemacs/user-config section

For Clojure / ClojureScript language, add

(add-hook 'clojure-mode-hook #'aggressive-indent-mode)

Or set aggressive indentation for all languages using the following code instead

(global-aggressive-indent-mode 1)

Spacemacs CIDER - aggressive indent

Auto-indent code automatically

results matching ""

    No results matching ""