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

Very strange intendation within a let form (probably bug) #169

Open
licht1stein opened this issue Dec 17, 2024 · 1 comment
Open

Very strange intendation within a let form (probably bug) #169

licht1stein opened this issue Dec 17, 2024 · 1 comment

Comments

@licht1stein
Copy link

licht1stein commented Dec 17, 2024

When indenting a simple form like this, the result is predictable and good looking:

(filter
  #(not= 1 %) [1 2 3])

This is exactly what I'd expect to get within a let form, but the result looks like this, which is quite bad.

image

But if you try hard enough, you can make it even worse, this is just omg:

image

Done using the piping using Emacs + apheleia.

@oakmac
Copy link
Owner

oakmac commented Dec 19, 2024

Thank you for the report. I am not able to reproduce this behavior via test case (see PR-170).

  • Do those test cases look correct to you?
  • Could this be something else about your setup / install that is not working?

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