Skip to content

[py] indent is off on enter with cursor in front of line #240

@alur

Description

@alur
def foo():
  if 1 == 1:
    bar()
  if 2 == 2:
    foo()

Enter when the cursor is in front of "if 2 == 2:" moves the line to column 0. Enter in front of "if 1 == 1:" works as expected.

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