-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indent and unindent based on the last char of the previous line
Two new field where added to the editorSyntax struct indent_chars and unindent_chars helps to identify when a line should be indented/unindented. If the previous line has any of the indent_chars as its last non whitespace character, the next line will be indented. If the current line has any of the unindent_chars as its first non whitepace character, the line will be unindented.
- Loading branch information
Showing
1 changed file
with
41 additions
and
2 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