add .editorconfig [skip ci]

This commit is contained in:
surtur 2022-01-10 08:55:07 +01:00
parent 3553968d52
commit a7cd73a3fc
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

25
.editorconfig Normal file
View File

@ -0,0 +1,25 @@
root = true
[*]
charset = utf-8
end_of_line = lf
[*.{cpp,h,hpp}]
indent_size = 4
tab_width = 4
indent_style = tab
[*.starlark]
indent_size = 4
tab_width = 4
indent_style = tab
[Makefile]
indent_style = tab
indent_size = 4
tab_width = 4
[CMakeLists.txt]
indent_style = space
indent_size = 2
tab_width = 2