Disable clang-format for sensitive blocks
Things like macro blocks should not be auto-formatted. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Jeremy Soller
parent
04df6ae311
commit
b70a09e205
@@ -13,6 +13,7 @@
|
||||
// common/keymap.h requires KM_LAY, KM_OUT, and KM_IN definitions
|
||||
#include <common/keymap.h>
|
||||
|
||||
// clang-format off
|
||||
// Conversion of physical layout to keyboard matrix
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \
|
||||
@@ -39,6 +40,7 @@
|
||||
{ ___, K2D, K58, K1D, K2E, K0F, K1E, K0G }, \
|
||||
{ K56, ___, K3C, ___, K59, K0C, K4D, K3D } \
|
||||
}
|
||||
// clang-format on
|
||||
|
||||
// Position of physical Esc key in the matrix
|
||||
#define MATRIX_ESC_INPUT 7
|
||||
|
Reference in New Issue
Block a user