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

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

Open
WalterGR opened this issue Jan 2, 2016 · 0 comments
Open

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

WalterGR opened this issue Jan 2, 2016 · 0 comments

Comments

@WalterGR
Copy link

WalterGR commented Jan 2, 2016

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)))
  _
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants