mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
The setting wasn't consistent with the one used in the Visual Studio Code settings, which caused different newline formatting depending on whether the user uses Visual Studio Code or another editor that uses EditorConfig.
15 lines
256 B
INI
15 lines
256 B
INI
root = true
|
|
|
|
[*]
|
|
insert_final_newline = true
|
|
|
|
[{*.{c,cpp,cc,h,hpp},CMakeLists.txt,Kconfig}]
|
|
indent_style = tab
|
|
tab_width = 8
|
|
# Not in the official standard, but supported by many editors
|
|
max_line_length = 120
|
|
|
|
[*.yaml]
|
|
indent_style = space
|
|
indent_size = 2
|