Replies: 1 comment
-
Thanks for asking! I don't use What zprint can do is accept configuration option maps in comments. Thus a comment like this:
will cause zprint to skip formatting the next top level (non-comment) element (which is usually a That is one approach to getting zprint to keep its hands off of something at the top level. zprint only really knows how to format entire expressions. I don't know if you are asking for a way to have zprint always not format some kind of expression which might appear internally in an outer expression. zprint won't do that today, though you could get zprint to go into It would be very helpful to me if you showed me what zprint does now and told me what you don't like about it and then showed me an example what you would like it to do. From that I can tell you either how to get that to happen, or I can think about how I could modify zprint to allow that to happen. It turns out that there is a "no-format" mode in zprint (specifically to support coloring the code and outputting HTML when using Thanks! |
Beta Was this translation helpful? Give feedback.
-
Is there a way to annotate something (akin to
#_{:clj-kondo/ignore ...}
) such that zprint will ignore formatting things within that expression or in a given file?Beta Was this translation helpful? Give feedback.
All reactions