-
Notifications
You must be signed in to change notification settings - Fork 49
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
Double tagged literals at map value result in extra line break #344
Comments
Hello! In recently ran into issues with tagged literals, and had to completely reimplement them. From the
I was hoping that this might make your situation work better, and indeed:
It seems to fix the problem that adding the additional tag seemed to generate. Which is nice (to put it mildly). I have no solution for you until I'm currently working on implementing |
Wow, this is huge for such a subtle thing — thanks for sharing these "behind the scenes"! Should we close this issue then? |
I'll close it when I release |
Hi @kkinnear!
The issue I encountered has to do with how Aero-based configuration files are formatted in a certain case.
Here's the minimalistic
zprint
config I have for this one:What I have before running
zprint
:What I have after running
zprint
:All is expected and neat.
But, if I add just one extra thing, an Aero tag for the
:port
value:Then, after running
zprint
, it quite surprisingly becomes:Which is quite unexpected, I would say, since there is enough space for the
:jetty-opts
value map to fit on the same line as the key.I tried out all config options for
:tagged-literal
, which are few, and none were of help. I also played with all other relevant:map
options — still, with no luck.It seems like these are double tagged literals at map value that result in the extra line break.
I wonder, is there anything that can be done about this?
The text was updated successfully, but these errors were encountered: