Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add indent_method property for nontrivial indentation methods
This PR aims to solve the requirement of editorconfig/editorconfig#323 to add support for `smart_tabs`. I propose to add a generic `indent_method` property to be able to 1. add support for non-trivial indentation methods 2. allow a backward compatible definition of indentation methods. Therefore the `indent_method` may override indent size and style if required. I added two common (?) methods for the beginning: `smart_tabs` and `elastic_tabs`, the list may grow in the future. I would prefer to also explain what `smart_tabs` and `elastic_tabs` refer to, for this it would be necessary to write a small explanation to avoid the risk any referenced website goes down. What do you think?
- Loading branch information