Skip to content

Commit

Permalink
test cases #544
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhughes committed May 22, 2024
1 parent 68f9af7 commit 25b7d74
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test-cases/namedGroupingBracesBrackets/issue-544-mod1.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
\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]}},
}
15 changes: 15 additions & 0 deletions test-cases/namedGroupingBracesBrackets/issue-544.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
\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]}},
}
4 changes: 4 additions & 0 deletions test-cases/namedGroupingBracesBrackets/issue-544.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fineTuning:
namedGroupingBracesBrackets:
name: [0-9\.a-zA-Z@\*><-]+?
follow: \h|\R|\{|\[|\$|\)|\(|,
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@ latexindent.pl -s issue-501.tex -o +-mod1

latexindent.pl -s -l issue-501.yaml issue-501.tex -o +-mod2
latexindent.pl -s -m -y "modifyLineBreaks:textWrapOptions:columns:25,modifyLineBreaks:textWrapOptions:blocksBeginWith:other:(?:\\\\),noAdditionalIndentGlobal:namedGroupingBracesBrackets:1" issue-501a.tex -o=+-mod2

latexindent.pl -s -l issue-544.yaml issue-544.tex -o=+-mod1
[[ $gitStatus == 1 ]] && git status
[[ $noisyMode == 1 ]] && makenoise

0 comments on commit 25b7d74

Please sign in to comment.