Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cichli opened this issue Feb 16, 2015 · 2 comments
Closed

Comments

@cichli
Copy link
Member

cichli commented Feb 16, 2015

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)))))
@cichli cichli changed the title cider-format-region does not respect indentation of region start position cider-format-region does not respect indentation of region start position Feb 16, 2015
@bbatsov
Copy link
Member

bbatsov commented Feb 16, 2015

I'll take a look at this.

cichli added a commit to cichli/cider that referenced this issue Feb 16, 2015
@cichli
Copy link
Member Author

cichli commented Feb 16, 2015

Just made a PR for it! #978

@cichli cichli changed the title cider-format-region does not respect indentation of region start position cider-format-region does not respect indentation of region start position Feb 16, 2015
bbatsov added a commit that referenced this issue Feb 17, 2015
Add support for format-edn middleware & fix #977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants