Skip to content

Caret positioning / auto-formatting of top-level forms #3180

@paintparty

Description

@paintparty
VSC version 1.116.0(universal)
Calva version used: v2.0.574
clojure-lsp version used: 2026.04.15-12.53.12-nightly
clj-kondo version used: 2026.04.15

The closing paren positioning is correct, but the caret position is not using the correct indentation.

(and foo|)
;; press Enter
(and foo
|    )

;; expected
(and foo
    |)

Description in screen recording:

Image

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