summaryrefslogtreecommitdiff
path: root/support/latexindent/defaultSettings.yaml
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-20 03:01:22 +0000
committerNorbert Preining <norbert@preining.info>2021-06-20 03:01:22 +0000
commit0b024adf546cd484554e4de5bd1a9919a4fdd03d (patch)
treef688c8afa79d522868966c9c91e09088f28b5248 /support/latexindent/defaultSettings.yaml
parentdaa6873fe1d06863ffc2980970295b39071f02ba (diff)
CTAN sync 202106200301
Diffstat (limited to 'support/latexindent/defaultSettings.yaml')
-rw-r--r--support/latexindent/defaultSettings.yaml26
1 files changed, 20 insertions, 6 deletions
diff --git a/support/latexindent/defaultSettings.yaml b/support/latexindent/defaultSettings.yaml
index 2a927de535..1d4c370484 100644
--- a/support/latexindent/defaultSettings.yaml
+++ b/support/latexindent/defaultSettings.yaml
@@ -1,4 +1,4 @@
-# defaultSettings.yaml for latexindent.pl, version 3.9.3, 2021-05-07
+# defaultSettings.yaml for latexindent.pl, version 3.10, 2021-06-19
# a script that aims to
# beautify .tex, .sty, .cls files
#
@@ -89,6 +89,14 @@ logFilePreferences:
showDecorationFinishCodeBlockTrace: 0
endLogFileWith: '--------------'
showGitHubInfoFooter: 1
+ Dumper:
+ Terse: 1
+ Indent: 1
+ Useqq: 1
+ Deparse: 1
+ Quotekeys: 0
+ Sortkeys: 1
+ Pair: " => "
# verbatim environments specified
# in this field will not be changed at all!
@@ -109,11 +117,6 @@ noIndentBlock:
noindent: 1
cmhtest: 1
-# remove trailing whitespace from all lines
-removeTrailingWhitespace:
- beforeProcessing: 0
- afterProcessing: 1
-
# \begin{document} and \end{document} are treated differently
# by latexindent within filecontents environments
fileContentsEnvironments:
@@ -140,6 +143,11 @@ preambleCommandsBeforeEnvironments: 0
# default value of indentation
defaultIndent: "\t"
+# remove trailing whitespace from all lines
+removeTrailingWhitespace:
+ beforeProcessing: 0
+ afterProcessing: 1
+
# name of code blocks that should have their body aligned at ampersand delimiters
lookForAlignDelims:
tabular:
@@ -359,6 +367,9 @@ commandCodeBlocks:
amalgamate: 1
- '@ifnextchar\['
+# change dos line breaks into unix
+dos2unixlinebreaks: 0
+
# modifyLineBreaks will only be searched if the -m
# switch is active
#
@@ -498,6 +509,7 @@ modifyLineBreaks:
other: 0
textWrapOptions:
columns: 0
+ # huge: overflow # forbid mid-word line breaks
separator: ""
perCodeBlockBasis: 0
all: 0
@@ -628,6 +640,8 @@ fineTuning:
arguments:
before: '(?:#\d\h*;?,?\/?)+|\<.*?\>'
between: '_|\^|\*'
+ trailingComments:
+ notPreceededBy: '(?<!\\)'
modifyLineBreaks:
betterFullStop: '(?:\.\)(?!\h*[a-z]))|(?:(?<!(?:(?:e\.g)|(?:i\.e)|(?:etc))))\.(?!(?:[a-z]|[A-Z]|\-|~|\,|[0-9]))'
doubleBackSlash: '\\\\(?:\h*\[\h*\d+\h*[a-zA-Z]+\h*\])?'