mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
refactor(style): switch-case formatting, "uncrustify:indent-off" #15669
* refactor: disable formatting for attribute in macro * fixup: disable/enable uncrustify with uncrustify:indent-off/on * fixup: stop indenting contents inside braces in case * fixup: remove case brace if no variable declaration
This commit is contained in:
@@ -7653,14 +7653,14 @@ int hkmap(int c)
|
||||
case ';':
|
||||
c = 't'; break;
|
||||
default: {
|
||||
static char str[] = "zqbcxlsjphmkwonu ydafe rig";
|
||||
static char str[] = "zqbcxlsjphmkwonu ydafe rig";
|
||||
|
||||
if (c < 'a' || c > 'z') {
|
||||
return c;
|
||||
}
|
||||
c = str[CharOrdLow(c)];
|
||||
break;
|
||||
if (c < 'a' || c > 'z') {
|
||||
return c;
|
||||
}
|
||||
c = str[CharOrdLow(c)];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return (int)(CharOrdLow(c) + p_aleph);
|
||||
|
Reference in New Issue
Block a user