Skip to content

When closing bracket and starting a new line, cursor isn't indented to scope, but to the last opened bracket. #2

@wtfzambo

Description

@wtfzambo

Hi, thanks a lot for this package, it's really useful.

One thing that's bugging me like crazy and I can't manage to fix, is that the behavior of square and curly brackets is different from what I expect.

I'll explain - parentheses work normally, when pressing return, cursor goes where I expect it to be:
image
image

However, when using square and curly brackets, cursor gets indented to the opening bracket when pressing return:
image

Is there a way to make it so that square and curly behave the same way as normal parentheses?

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