Skip to content

cider-format-region does not respect indentation of region start position #977

@cichli

Description

@cichli

e.g. if I have

(let [x 1]
  (let [x 1]
    (let [x 1]
      (let [x 1]
                  (println x)))))

and I select the innermost let form, then do cider-format-region, I get:

(let [x 1]
  (let [x 1]
    (let [x 1]
      (let [x 1]
  (println x)))))

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