zprint
zprint copied to clipboard
Executables, uberjar, and library to beautifully format Clojure and Clojurescript source code and s-expressions.
Closes #248
Hi! Thank you so much for creating this. It's beautiful. I tried looking through the reference for the past couple weeks but couldn't figure out how to configure the following...
zprint is deleting the namespace map context specified by the `#:` syntax when the style is `indent-only`. ```clojure (zp/zprint-file-str "#:a{:b 1}" "example") => "#:a{:b 1}" (zp/zprint-file-str "#:a{:b 1}" "example" {:style...
As written: ```clojure #(let [really-long-text-so-it-puts-on-two-lines %] really-long-text-so-it-puts-on-two-lines) ``` Classic: ```clojure #(let [really-long-text-so-it-puts-on-two-lines %] really-long-text-so-it-puts-on-two-lines) ``` Indent only: ```clojure #(let [really-long-text-so-it-puts-on-two-lines %] really-long-text-so-it-puts-on-two-lines) ```
Hi Kim again, apologies I am trying to keep it tidy but I have found that with this problem with the new `:meta-base` style. This time I have a minimal...
I would like to discuss setting up Github Actions (via `setup-clojure`) for testing on matrix of setups and maybe additionally using Cirrus CI for building executables, e.g. for Apple M1...
Hey there! I feel like the current workflow for using a given project's `.zprintrc` doesn't work well when dealing with multiple open source projects and contributors. I'm trying to use...
clojure-mode and CIDER have the notion of "indent specs" by which macros can declare a specific indentation. Some valid values under its spec are `0`, `1`, `:defn`, or more complex...
Hi there, In two of the tooling projects where I envision eventually integrating zprint, keeping dependency trees lean matters. They're vanilla JVM/Maven artifacts to be included as a project's :dev...
Dear Kim, I am trying to format clara rules and I have vector instances of both "atom" *and* collections inside them. I'd like to ask if it is possible *not*...