yedit icon indicating copy to clipboard operation
yedit copied to clipboard

Auto indent new line after mapping without scalar value

Open bbaumgartner opened this issue 9 years ago • 1 comments

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.

bbaumgartner avatar Mar 31 '16 09:03 bbaumgartner

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.

oyse avatar May 20 '16 20:05 oyse