Add latexindent config and update hooks
This commit is contained in:
parent
af89ca8f3c
commit
19606d24e0
|
@ -0,0 +1,15 @@
|
||||||
|
onlyOneBackup: 1
|
||||||
|
indentPreamble: 1
|
||||||
|
|
||||||
|
modifyLineBreaks:
|
||||||
|
preserveBlankLines: 1
|
||||||
|
condenseMultipleBlankLinesInto: 1
|
||||||
|
textWrapOptions:
|
||||||
|
columns: 80
|
||||||
|
multipleSpacesToSingle: 1
|
||||||
|
environments:
|
||||||
|
DBSFinishesWithLineBreak: 1
|
||||||
|
BeginStartsOnOwnLine: 1
|
||||||
|
BodyStartsOnOwnLine: 1
|
||||||
|
EndStartsOnOwnLine: 1
|
||||||
|
EndFinishesWithLineBreak: 1
|
|
@ -9,6 +9,7 @@ repos:
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- repo: https://github.com/cmhughes/latexindent.pl
|
- repo: https://github.com/cmhughes/latexindent.pl
|
||||||
rev: V3.19.1
|
rev: V3.20.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: latexindent
|
- id: latexindent
|
||||||
|
args: ["-s", "-l", "--overwriteIfDifferent", "-m"]
|
||||||
|
|
Loading…
Reference in New Issue