New .clang-format
This commit is contained in:
parent
02e80b3827
commit
d87abd3ec0
1 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
BasedOnStyle: LLVM
|
BasedOnStyle: LLVM
|
||||||
IndentWidth: 4 # Use 4 spaces for indentation
|
IndentWidth: 4
|
||||||
TabWidth: 4 # Tab width is also 4 spaces
|
TabWidth: 4
|
||||||
UseTab: Never # Always use spaces instead of tabs
|
UseTab: Never
|
||||||
ColumnLimit: 120 # Wrap lines after 80 characters
|
ColumnLimit: 120
|
||||||
AllowShortLoopsOnASingleLine: true
|
AllowShortLoopsOnASingleLine: true
|
||||||
AllowShortFunctionsOnASingleLine: false
|
AllowShortFunctionsOnASingleLine: false
|
||||||
AlwaysBreakTemplateDeclarations: true
|
AlwaysBreakTemplateDeclarations: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue