Skip to content

Auto indent new line after mapping without scalar value #39

@bbaumgartner

Description

@bbaumgartner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions