Fork me on GitHub
#spacemacs
<
2019-01-12
>
practicalli-john19:01:52

@drewverlee yes. You will probably need to use a hook for the particular mode (or modes) so you indentation config loads when that mode does. For example this indentation for the web mode https://gist.github.com/jr0cket/3bef332bc8565f59086af1863e0a8b15#file-spacemacs-el-L784

ag00:01:31

using lambdas for hooks makes it difficult to remove them though

practicalli-john19:01:56

There are a few example do adding hooks in that config, so pick whatever works. If it doesn’t works, you might have to restart Emacs so the mode loads again. If it still doesn’t work, then maybe the mode name is not quite right (there are several modes for Clojure, the REPL, etc).

👍 1