mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
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:
parent
10a685a0e4
commit
1ac654f006
4 changed files with 117 additions and 102 deletions
7
.clang-format
Normal file
7
.clang-format
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
BasedOnStyle: LLVM
|
||||
IndentWidth: 8
|
||||
AlwaysBreakAfterReturnType: TopLevel
|
||||
UseTab: ForIndentation
|
||||
BreakBeforeBraces: Linux
|
||||
AllowShortEnumsOnASingleLine: false
|
||||
AlignAfterOpenBracket: DontAlign
|
||||
Loading…
Add table
Add a link
Reference in a new issue