Closed jdujava closed 3 months ago
Thanks for this. Can you try
fineTuning:
namedGroupingBracesBrackets:
name: [0-9\.a-zA-Z@\*><-]+?
With the proposed fineTuning
\tikzset{
% header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
\tikzset{
header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
% header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
\tikzset{
header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
% leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
ends up as
\tikzset{
% header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
\tikzset{
header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
% header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
\tikzset{
header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
% leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
Without fineTuning
, all would be not indented.
Using
fineTuning:
namedGroupingBracesBrackets:
name: [0-9\.a-zA-Z@\*><-]+?
follow: \h|\R|\{|\[|\$|\)|\(|,
gives
\tikzset{
% header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
\tikzset{
header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
% header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
\tikzset{
header decor right/.style={gray,line width=1.0,-{Diamond[open]}},
header decor left/.style={gray,line width=1.0,{Diamond[open]}-},
% leadsto/.style={-{Stealth[length=0.7em,open,round]}},
}
Nice, works for me! Thanks for looking into it.
Minimal Working Example
actual/given output
desired or expected output
Same as initial one.
anything else
Problem seems to be in the syntax
-{....}
, which always results in omitting the indentation. On the other hand{...}-
seems to be fine (leaving only the line with{...}-
results in a correct indentation).