summaryrefslogtreecommitdiff
path: root/support/latexindent/defaultSettings.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'support/latexindent/defaultSettings.yaml')
-rw-r--r--support/latexindent/defaultSettings.yaml70
1 files changed, 27 insertions, 43 deletions
diff --git a/support/latexindent/defaultSettings.yaml b/support/latexindent/defaultSettings.yaml
index f375b47023..fabc5f5b6e 100644
--- a/support/latexindent/defaultSettings.yaml
+++ b/support/latexindent/defaultSettings.yaml
@@ -1,4 +1,4 @@
-# defaultSettings.yaml for latexindent.pl, version 3.15, 2022-01-21
+# defaultSettings.yaml for latexindent.pl, version 3.16, 2022-03-13
# a script that aims to
# beautify .tex, .sty, .cls files
#
@@ -216,6 +216,10 @@ lookForAlignDelims:
vNiceArrayRC: 1
VNiceArrayRC: 1
NiceArrayRCwithDelims: 1
+ # tabularray
+ tblr: 1
+ longtblr: 1
+ talltblr: 1
# if you want the script to look for \item commands
# and format it, as follows (for example),
@@ -490,7 +494,7 @@ modifyLineBreaks:
oneSentencePerLine:
manipulateSentences: 0
removeSentenceLineBreaks: 1
- textWrapSentences: 0
+ textWrapSentences: 0 # setting to 1 disables main textWrap routine
sentenceIndent: ""
sentencesFollow:
par: 1
@@ -513,48 +517,28 @@ modifyLineBreaks:
other: 0
textWrapOptions:
columns: 0
- huge: overflow # forbid mid-word line breaks
+ multipleSpacesToSingle: 1
+ blocksFollow:
+ headings: 1
+ commentOnPreviousLine: 1
+ par: 1
+ blankLine: 1
+ verbatim: 1
+ filecontents: 1
+ other: '\\\]|\\item(?:\h|\[)' # regex
+ blocksBeginWith:
+ A-Z: 1
+ a-z: 1
+ 0-9: 0
+ other: 0 # regex
+ blocksEndBefore:
+ commentOnOwnLine: 1
+ verbatim: 1
+ filecontents: 1
+ other: '\\begin\{|\\\[|\\end\{' # regex
+ huge: overflow # forbid mid-word line breaks
separator: ""
- perCodeBlockBasis: 0
- beforeFindingChildCodeBlocks: 0
- all: 0
- alignAtAmpersandTakesPriority: 1
- environments:
- quotation: 0
- ifElseFi: 0
- optionalArguments: 0
- mandatoryArguments: 0
- items: 0
- specialBeginEnd: 0
- afterHeading: 0
- preamble: 0
- filecontents: 0
- mainDocument: 0
- removeParagraphLineBreaks:
- all: 0
- beforeTextWrap: 0
- alignAtAmpersandTakesPriority: 1
- environments:
- quotation: 0
- ifElseFi: 0
- optionalArguments: 0
- mandatoryArguments: 0
- items: 0
- specialBeginEnd: 0
- afterHeading: 0
- preamble: 0
- filecontents: 0
- mainDocument: 0
- paragraphsStopAt:
- environments: 1
- verbatim: 1
- commands: 0
- ifElseFi: 0
- items: 0
- specialBeginEnd: 0
- heading: 0
- filecontents: 0
- comments: 0
+ # poly-switches below here
environments:
BeginStartsOnOwnLine: 0
BodyStartsOnOwnLine: 0