Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Over-enthusiastic outdent of curly braces #77

@jbt

Description

@jbt

A gif probably explains it best:

outdent2

Firstly, I'd contend that the ]) shouldn't be automatically indented, but I can live with that.

Main point: the {whatever} line automatically outdents as soon as I type the first { (presumably because it thinks it's opening a block rather than an object), and then continually tries to outdent whenever I type any more characters on the line (the re-indentation in the gif is me hitting ctrl+])

Been happening in atom --safe built off master for the last couple of days, presumably since the update to language-javascript@0.51 in relation to e38f1cd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions