Update .editorconfig

This commit is contained in:
ZombineDev 2017-12-28 23:52:14 +02:00
parent b8267bdacb
commit bc287abf79

View file

@ -1,9 +1,26 @@
# EditorConfig file: http://editorconfig.org/
root = true
[*.{c,h,d,di,dd}]
# Default settings for all file types:
# + save files in UTF-8 encoding
# + use Unix line-endings and a final newline
# + remove whitespace at the end of lines
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# File type specific settings:
[*.{asm,S,c,cpp,m,h,d,di,dd,ddoc,dt,json,sdl,R,bat,bash,fish,sh,zsh}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
charset = utf-8
# Make and Windows module-definition files use tabs for indentation
[*.{mak,Makefile,def}]
indent_style = tab
[*.yml]
indent_style = space
indent_size = 2