fish_indent: indent "case" with the same level as "swith"
This commit is contained in:
parent
74f06d550a
commit
bdfc62184d
@ -125,6 +125,11 @@ static int indent( string_buffer_t *out, wchar_t *in, int flags )
|
||||
{
|
||||
indent--;
|
||||
}
|
||||
/* case should have the same indent level as switch*/
|
||||
else if( wcscmp( unesc, L"case" ) == 0 )
|
||||
{
|
||||
indent--;
|
||||
}
|
||||
else if( wcscmp( unesc, L"end" ) == 0 )
|
||||
{
|
||||
indent--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user