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
2020-10-08 09:49:06 +03:00
..
packages.el Add dtrt-indent layer 2020-10-06 12:30:47 +02:00
README.org documentation formatting: Thu Oct 8 06:38:34 UTC 2020 2020-10-08 09:49:06 +03:00

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.