Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply stabChildrenIndent rules to DO childAttributes #796

Merged
merged 1 commit into from
Aug 17, 2017
Merged

Conversation

KronicDeth
Copy link
Owner

Fixes #793

Changelog

Bug Fixes

  • When do ... end template is inserted, it did not have a previous child whose attributes to use, so it used the default, which left the cursor unindented. To get the cursor indented by default, When the ElementType is DO, apply the stabChildrenIndent rules: indent normal and determine
    whether to indent relative to direct parent using code style setting.

@KronicDeth KronicDeth added this to the v6.2.0 milestone Aug 17, 2017
@KronicDeth KronicDeth self-assigned this Aug 17, 2017
Fixes #793

When `do ... end` template is inserted, it did not have a previous child
whose attributes to use, so it used the default, which left the cursor
unindented.  To get the cursor indented by default, When the ElementType
is DO, apply the stabChildrenIndent rules: indent normal and determine
whether to indent relative to direct parent using code style setting.
Repository owner deleted a comment Aug 17, 2017
@KronicDeth KronicDeth merged commit b859970 into master Aug 17, 2017
@KronicDeth KronicDeth deleted the 793 branch August 17, 2017 03:34
KronicDeth added a commit that referenced this pull request Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant