forked from Archive/PX4-Autopilot
code: add more style options in `.editorconfig`
This commit is contained in:
parent
4a553938fb
commit
bcbae86b9f
|
@ -1,6 +1,14 @@
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*.{c,cpp,cc,h,hpp}]
|
[*]
|
||||||
|
insert_final_newline = false
|
||||||
|
|
||||||
|
[{*.{c,cpp,cc,h,hpp},CMakeLists.txt,Kconfig}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
tab_width = 8
|
tab_width = 8
|
||||||
|
# Not in the official standard, but supported by many editors
|
||||||
max_line_length = 120
|
max_line_length = 120
|
||||||
|
|
||||||
|
[*.yaml]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
Loading…
Reference in New Issue