This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+misc/dtrt-indent/README.org

1 KiB

dtrt-indent layer

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.

Description

This is a simple layer wrapping the dtrt-indent Emacs package for automatic detection and switching of indentation style.

It is automatically enabled using the method suggested here.

Features:

  • Indentation style detection and automatic configuration to match file in open buffer.

Install

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.