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.

(if (form)<Enter> does not indent the new line #32

@WalterGR

Description

@WalterGR

Repro:

  1. Open a .clj file.
  2. Type the following in the file, at the top level, and press Enter/Return.
(if (form)

Expected:

The cursor is indented on the new line by 2 spaces:

(if (form)
  _

Actual:

The cursor is not indented at all:

(if (form)
_

Strangely, if you instead type the following (i.e. form not enclosed in parens) and press Enter/Return:

(if form

then the new line is indented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions