Update 12/22/2020: This layer is now included on the Spacemacs develop branch. If you are running Spacemacs off of the develop
branch, you can grab the dtrt-indent
layer simply by adding it to your dotspacemacs-configuration-layers
list.
Spacemacs layer wrapping the Emacs package dtrt-indent. This package enables automatic detection and switching of indentation style to match the current file. See the dtrt-indent repo for more details.
This is a simple layer wrapping the dtrt-indent Emacs package for automatic detection and switching of indentation style.
It is automatically enabled by default when the layer is added in the way suggested here.
The setup process simply involves cloning the repo into ~/.emacs.d/private
, then adding dtrt-indent
to your ~/.spacemacs
.
git clone https://github.com/keevindoherty/dtrt-indent.git ~/.emacs.d/private/dtrt-indent
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add dtrt-indent
to the existing dotspacemacs-configuration-layers
list in this
file.