fix in code formatter

This commit is contained in:
Бондарев Иван 2018-09-30 12:53:37 +02:00
parent 8a4974bf1e
commit d4183d891c

View file

@ -535,7 +535,7 @@ namespace CodeFormatters
else if (trimedstr.StartsWith("of") && !char.IsLetterOrDigit(trimedstr[2]))
comm = comm.TrimStart();
}
else if (trimedstr.StartsWith(")") || trimedstr.StartsWith(";"))
else if (trimedstr.StartsWith(")") || trimedstr.StartsWith(";") || trimedstr.StartsWith("]") || trimedstr.StartsWith(">"))
comm = trimedstr;
//else if (sn is uses_closure || sn is formal_parameters || sn is type_declaration)
// comm = comm.TrimStart();