diff options
author | Oliver Schneider <oliver@assarbad.net> | 2019-11-17 01:04:05 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2019-11-17 01:04:05 +0300 |
commit | c4c75435b9aff78752fb25719b8841209a97d551 (patch) | |
tree | b301987170a12488520cf81155bb26c24887a807 /.editorconfig | |
parent | b15edd4c0b3949f773e95129bd9fefdad1686c6a (diff) |
Adding .editorconfig files in the hope of avoiding future messing with line
endings or mixed tabs and spaces ...
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..96dc111 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 + +[*.{rc,rc2,cmd,bat,vcxproj,vcxproj.filters,vcproj,sln}] +end_of_line = crlf + +[*.{c,cpp,h}] +trim_trailing_whitespace = true + +[{Makefile,GNUmakefile}] +indent_style = tab |