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

Using :indent-only? when formatting Clojure structures doesn't work. #321

Open
kkinnear opened this issue Jun 4, 2024 · 0 comments
Open

Comments

@kkinnear
Copy link
Owner

kkinnear commented Jun 4, 2024

You can format source (typically using the pre-built binaries or the uberjar) or Clojure structures (typically using zprint as a library, possibly at the REPL). I you configure :indent-only? when using zprint as a library and try to format Clojure structures, it doesn't work correctly. Which you probably would never do, since what would it mean to not add newlines to formatting structures which ... don't have any newlines? This is fixed in version 1.3.0 where :indent-only? is ignored when not formatting source.

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

1 participant