ADD .editorconfig to display source files in Gitea with tab size of 4

This commit is contained in:
Thomas Kuschel 2022-07-16 20:40:01 +02:00
parent c35afd9bf8
commit f3682d7103

22
.editorconfig Normal file
View File

@ -0,0 +1,22 @@
# EditorConfig: https://EditorConfig.org
# top-most EditorConfig file
root = true
# General settings
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
# Source code files
[*.{c,h,s}]
indent_style = tab
charset = utf-8
indent_size = 4
trim_trailing_whitespace = true
# Tab indentation (no size specified)
[{Makefile,*.mk}]
indent_style = tab
trim_trailing_whitespace = false