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

Auto indent new line after mapping without scalar value #39

Open
bbaumgartner opened this issue Mar 31, 2016 · 1 comment
Open

Auto indent new line after mapping without scalar value #39

bbaumgartner opened this issue Mar 31, 2016 · 1 comment

Comments

@bbaumgartner
Copy link

Hi

I'd like to propose some small improvement:
Given

mymappings:|

with cursor position at |

  1. Invoke enter

Is:

mymappings:
|

Should:

mymappings:
   |

Reason: Because the key node is not a scalar it is very likely that a collection will follow.

Thank you.

@oyse
Copy link
Owner

oyse commented May 20, 2016

Definitely a good suggestion. I will see if this is something that can be included in the future.

Sorry for the slow reply, it seems I didn't get a notification for the new issue.

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