-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base continued body in indentation on the indentation of the line before
FIX: Improve the way indentation for the current body is preserved when inenting new lines. Issue codemirror/dev#1370
- Loading branch information
Showing
1 changed file
with
28 additions
and
14 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
0468622
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be optional?
When using Cypress tests, the
type()
command adds additional indentation, for two function definitions like:It wasn't the issue before. Might as well happen to Chimp.
0468622
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what the
type
command is, or what Chimp refers to, but I think it's reasonable behavior to require a backspace to dedent when leaving an indented scope.