Open VladGdev opened 1 month ago
So far this issue specifically happens with switch statements, after every format command issued, the odinfmt adds an extra line before the curly bracket opens until it reaches maximum of 3 new lines and then stops.
switch
Expected behavior of "Allman" brace style:
num := 1 switch num { case 0: case 1: }
Current behavior:
So far this issue specifically happens with
switch
statements, after every format command issued, the odinfmt adds an extra line before the curly bracket opens until it reaches maximum of 3 new lines and then stops.Expected behavior of "Allman" brace style:
Current behavior: