New .clang-format

This commit is contained in:
Imbus 2025-07-30 00:52:04 +02:00
parent 02e80b3827
commit d87abd3ec0

View file

@ -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