editorconfig: add .editorfile to support a consistent coding style

This commit is contained in:
Christian Dietrich
2020-11-24 14:07:39 +01:00
committed by Horst Schirmeier
parent d296f15652
commit 743e746e0f

26
.editorconfig Normal file
View File

@ -0,0 +1,26 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
[{**/*.cc,**/*.hpp,**/*.ah,**/*.ah.in}]
indent_style = tab
indent_size = 4
[*.py]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
[CMakeLists.txt]
indent_style = tab
indent_size = 4