-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for non-space indention (#720)
- Adds support for non-space indention - even a "weird" mix of e.g. tabs and spaces. - Note, I had to add `String` field to the `Visitor` struct becasue the whitespace before the macro keyword is not included in the syn crate. - I only added a few new test cases with pure tabs or a combination of tabs and white spaces as most existing tests were also impacted by the change (and thus also tested the feature). - Added changelog entry.
- Loading branch information
1 parent
17bd8ab
commit d56ad0f
Showing
3 changed files
with
141 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.