Closed zeertzjq closed 3 years ago
Hello, thanks for this. Can you take a look at https://latexindentpl.readthedocs.io/en/latest/sec-fine-tuning.html#lst-finetuning1-mod1 and see if that fixes it?
I can't figure out what regex I have to set to arguments:between
as literally everything can appear in \graph
. I guess arguments:between
is what can appear between {
and }
, but I'm not sure.
Well, I guess PGF/TikZ is hard for latexindent to parse anyway as it is a different langauge. I'll add tikzpicture
to verbatimEnvironments
currently.
Any luck with this?
The following configuration seems to work:
fineTuning:
arguments:
before: '(?:#\d\h*;?,?\/?)+|\<.*?\>|\-\-|\->|in'
The in
makes indentation correct after \foreach
... in
Great, nicely done!
Please provide the following when posting an issue:
original .tex code
yaml settings
3.9.3 default
actual/given output
desired or expected output
anything else
The problem doesn't occur if there are no braces in the path.