Comments (4)
To reproduce in a clojure git repo:
boot -d boot-fmt/boot-fmt:0.1.4 fmt -m diff -f src/clj/clojure/spec/test.clj | head -40
or
boot -d boot-fmt/boot-fmt:0.1.4 fmt -m diff -f src/clj/clojure/spec/test.clj -o '{:style :community}' | head -40
from zprint.
I guess my point is ns
should be indented like do
?
from zprint.
Actually I meant when
. I went ahead and created a PR:
from zprint.
Great, I've released a new version of boot-fmt based on 0.2.12.
I tried it with a couple of open-source projects and zprint using community style does a marvellous job of keeping modifications of well-edited Clojure code to a minimum.
Also thanks for linking to boot-fmt on the homepage!
from zprint.
Related Issues (20)
- Consider segregating justification domains between blank lines
- Reflection and auto-box warnings - wrt GraalVM HOT 4
- Enforce a space between comment character and comment HOT 1
- Allow finer configuration of how certain Objects get printed HOT 3
- Sorting :require dependencies alphabetically. HOT 24
- Errors encountered when applying multiple styles may not be reported HOT 1
- Meta formatting HOT 4
- Making exceptions for `{:force-nl? true}` in maps when destructuring HOT 5
- Different output of tagged literals in library vs shell HOT 4
- Function to format a whole top-level file that takes code instead of a string? HOT 6
- formatting assoc function similar to cursive HOT 3
- Using `:indent-only?` when formatting Clojure structures doesn't work.
- Consider extending `:hiccup` style to handle reagent's `:>` shorthand for `reagent/adapt-react-class` HOT 1
- Make minimum number of map entries `lift-ns?` requires configurable HOT 2
- Zprints escapes already escaped newlines HOT 3
- Sort require does not apply depending on order in style HOT 6
- Deprecate `:return-altered-zipper` and write documentation for `:new-zloc` approach.
- Align `:arg1-pair` pairs with first arg HOT 4
- Is it possible to operate on a stream from stdin? HOT 1
- Could some formatting decisions be based on `sexpr`ed nodes? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zprint.