diff options
author | Karl Berry <karl@freefriends.org> | 2018-04-28 21:57:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-04-28 21:57:31 +0000 |
commit | 1d47aeb4b6825139fc0f32c3549fbdf3fef6bb5c (patch) | |
tree | 13c5e17fc806f1d51e1d1a91c14b16e6a30b4fbb /Master/texmf-dist/scripts/latexindent/defaultSettings.yaml | |
parent | b14146667f4cd6cbc5d5821c88e47096df3c78b5 (diff) |
latexindent (28apr18)
git-svn-id: svn://tug.org/texlive/trunk@47471 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/defaultSettings.yaml')
-rwxr-xr-x | Master/texmf-dist/scripts/latexindent/defaultSettings.yaml | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml b/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml index 5f733c2ca23..4fa5eed5cc1 100755 --- a/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml +++ b/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml @@ -1,4 +1,4 @@ -# defaultSettings.yaml for latexindent.pl, version 3.4.1, 2018-01-18 +# defaultSettings.yaml for latexindent.pl, version 3.4.2, 2018-04-27 # a script that aims to # beautify .tex, .sty, .cls files # @@ -311,14 +311,18 @@ indentRulesGlobal: commandCodeBlocks: roundParenthesesAllowed: 1 stringsAllowedBetweenArguments: - node: 1 - at: 1 - to: 1 - decoration: 1 - ++: 1 - --: 1 + - + amalgamate: 1 + - 'node' + - 'at' + - 'to' + - 'decoration' + - '\+\+' + - '\-\-' commandNameSpecial: - @ifnextchar[: 1 + - + amalgamate: 1 + - '@ifnextchar\[' # modifyLineBreaks will only be searched if the -m # switch is active @@ -451,6 +455,8 @@ modifyLineBreaks: ifElseFi: IfStartsOnOwnLine: 0 BodyStartsOnOwnLine: 0 + OrStartsOnOwnLine: 0 + OrFinishesWithLineBreak: 0 ElseStartsOnOwnLine: 0 ElseFinishesWithLineBreak: 0 FiStartsOnOwnLine: 0 @@ -458,6 +464,8 @@ modifyLineBreaks: ifnum: IfStartsOnOwnLine: 0 BodyStartsOnOwnLine: 0 + OrStartsOnOwnLine: 0 + OrFinishesWithLineBreak: 0 ElseStartsOnOwnLine: 0 ElseFinishesWithLineBreak: 0 FiStartsOnOwnLine: 0 |