mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
Fix brances for if and else
Based on https://clang.llvm.org/docs/ClangFormatStyleOptions.html#breakbeforebraces
This commit is contained in:
parent
5501ce3f96
commit
8cac3446e1
1 changed files with 1 additions and 3 deletions
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
|
@ -8,7 +8,5 @@
|
|||
"editor.insertSpaces": true,
|
||||
"editor.detectIndentation": false,
|
||||
"editor.expandTabs": true,
|
||||
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block": "sameLine",
|
||||
"C_Cpp.vcFormat.newLine.beforeOpenBrace.function": "newLine",
|
||||
"C_Cpp.vcFormat.newLine.beforeElse": false
|
||||
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 4, BreakBeforeBraces: Mozilla }"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue