Apply coding std to <mouse> code & add .clang-format

The files:
    include/config/mousebind.h
    src/config/mousebind.c
    src/config/rc.xml
were formatted automatically via clang-format using the rules specified
in the .clang-format file. Specifically, the command;
clang-format -i -style=file include/config/mousebind.h \
src/config/mousebind.c src/config/rc.xml

This is unfortunately adding a break before the brace in enum
declarations
This commit is contained in:
alexander bryan 2021-08-31 17:43:49 -04:00 committed by Johan Malm
parent 10a685a0e4
commit 1ac654f006
4 changed files with 117 additions and 102 deletions

7
.clang-format Normal file
View file

@ -0,0 +1,7 @@
BasedOnStyle: LLVM
IndentWidth: 8
AlwaysBreakAfterReturnType: TopLevel
UseTab: ForIndentation
BreakBeforeBraces: Linux
AllowShortEnumsOnASingleLine: false
AlignAfterOpenBracket: DontAlign