clang-format: Disable alignment of operands, too unreliable
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
This commit is contained in:
@ -426,13 +426,13 @@ unsigned int KeyMappingWindows::get_scansym(unsigned int p_code, bool p_extended
|
||||
|
||||
bool KeyMappingWindows::is_extended_key(unsigned int p_code) {
|
||||
return p_code == VK_INSERT ||
|
||||
p_code == VK_DELETE ||
|
||||
p_code == VK_HOME ||
|
||||
p_code == VK_END ||
|
||||
p_code == VK_PRIOR ||
|
||||
p_code == VK_NEXT ||
|
||||
p_code == VK_LEFT ||
|
||||
p_code == VK_UP ||
|
||||
p_code == VK_RIGHT ||
|
||||
p_code == VK_DOWN;
|
||||
p_code == VK_DELETE ||
|
||||
p_code == VK_HOME ||
|
||||
p_code == VK_END ||
|
||||
p_code == VK_PRIOR ||
|
||||
p_code == VK_NEXT ||
|
||||
p_code == VK_LEFT ||
|
||||
p_code == VK_UP ||
|
||||
p_code == VK_RIGHT ||
|
||||
p_code == VK_DOWN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user