code: add more style options in .editorconfig

This commit is contained in:
Thomas Frans
2024-03-22 14:53:49 +01:00
committed by Daniel Agar
parent 4a553938fb
commit bcbae86b9f
+9 -1
View File
@@ -1,6 +1,14 @@
root = true
[*.{c,cpp,cc,h,hpp}]
[*]
insert_final_newline = false
[{*.{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