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

Smart Mode bug - paren trail holding behavior #36

Open
shaunlebron opened this issue Aug 17, 2018 · 0 comments
Open

Smart Mode bug - paren trail holding behavior #36

shaunlebron opened this issue Aug 17, 2018 · 0 comments
Assignees

Comments

@shaunlebron
Copy link
Collaborator

In Smart Mode, when a cursor leaves a "paren-trail holding area", indentation should be corrected.

These paren trail holding areas allow the user to enter intermediate states that are incorrectly formatted, because they may be on the path to a correctly formatted state that parinfer cannot predict.

For example, the (sdfsdf... line should be dedented when the the cursor moves to a different line to prevent [] from swallowing subsequent lines.

❌vscode bug:
vim-bug-swallow

✅atom showing correct behavior:
atom-desired-behavior-1

@oakmac oakmac self-assigned this Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants