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

;!zprint {:format :skip} removes arglist when there's zero arg #284

Closed
yqrashawn opened this issue Jan 5, 2023 · 1 comment
Closed

;!zprint {:format :skip} removes arglist when there's zero arg #284

yqrashawn opened this issue Jan 5, 2023 · 1 comment

Comments

@yqrashawn
Copy link

;!zprint {:format :skip}
(defn foo [] (prn 'a))

get formatted into

;!zprint {:format :skip}
(defn foo  (prn 'a))

check the video below, every time the file name at the bottom turns from red to white means there's a format applied
tested with

{:style [:community]
 :width 105}
CleanShot.2023-01-05.at.19.22.38.-.01.mp4
@kkinnear
Copy link
Owner

kkinnear commented Jan 5, 2023

Yes, this is a duplicate of Issue #263. It was unfortunately added when I rewrote the skipping and no-formatting code in 1.2.4. It is fixed and will ship in 1.2.5. If you don't need something in 1.2.4, then using 1.2.3 would make this problem go away. Alternatively, just avoid turning off formatting (or skipping) until 1.2.5 would be the only workarounds. #263 got closed before the fix actually shipped by the person who created the issue. I tend to leave them open until I actually ship the fix. I'm working steadily on fixing #273, for what that is worth.

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