Closed tatsy closed 1 year ago
Thanks for this. I can confirm the behaviour. This is not intended.
I'll look into it and report back.
I think it's the combination of the dontMeasure
and the -m
switch.
I agree with you that a bug is on the dontMeasure
feature and think other features of lookForAlignDelims work fine as far as I checked. Thank you very much for your kind help.
Thanks again.
This is fixed and released as of https://github.com/cmhughes/latexindent.pl/releases/tag/V3.20.4. I'll get it uploaded to ctan next.
@cmhughes Thank you very much for your kind help! I look forward to the new release.
It seems that when I use
\cmidrule
command intblr
environment (oftabularray
), the "lookForAlignDelims" does not work properly due to the conflict with "modifyLineBreaks".I got the following output with the command:
The versions of Perl and latexindent in my environment are:
Thank you in advance for your kind assistance.
original .tex code
yaml settings
actual/given output
desired or expected output
anything else
When I remove
\cmidrule
from the above code, I could get the proper output as the following. Also, when I removed-m
switch from my command, the table was formatted properly, though consecutive lines were not condensed into one.