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.

Enter/Return after completed form doesn't unindent #33

@WalterGR

Description

@WalterGR

Repro:

  1. Open or create a .clj file.
  2. Type the following, leaving the cursor where shown.
(defn index-of-any [pred coll]
  (first (index-filter pred coll)))_
  1. Press Enter/Return.

Expected:

Cursor is at the first column in the new line.

(defn index-of-any [pred coll]
  (first (index-filter pred coll)))
_

Actual:

Cursor is still indented, even though the form has been completed (i.e. parens and brackets match.)

(defn index-of-any [pred coll]
  (first (index-filter pred coll)))
  _

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