[latexfmt] Add indents for code
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user