diff --git a/config/lint/latexfmt.yaml b/config/lint/latexfmt.yaml index 007ffc0..3449132 100644 --- a/config/lint/latexfmt.yaml +++ b/config/lint/latexfmt.yaml @@ -29,3 +29,29 @@ indentRules: formula: " " conjugation: " " forms: " " + +specialBeginEnd: + If: + begin: '\\If' + middle: + - '\\ElsIf' + - '\\Else' + end: '\\EndIf' + lookForThis: 1 + For: + begin: '\\For' + end: '\\EndFor' + lookForThis: 1 + Procedure: + begin: '\\Procedure' + end: '\\EndProcedure' + lookForThis: 1 + Function: + begin: '\\Function' + end: '\\EndFunction' + lookForThis: 1 + While: + begin: '\\While' + end: '\\EndWhile' + lookForThis: 1 + specialBeforeCommand: 1