[latexfmt] Add indents for code

This commit is contained in:
Janis Hutz 2025-06-06 13:20:52 +02:00
parent 1079f62c06
commit f684f52d8f

View File

@ -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