You are viewing the documentation for the develop branch. The documentation for the release version is here .

Table of Contents

dtrt-indent layer

Table of ContentsClose

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.

1. 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.

1.1. Features:

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

2. 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.

Author: root

Created: 2021-09-29 Wed 20:46

Validate