Update .editorconfig with some more configs

Added support for .awk, .w32, .bat, .mk, .frag, .m4, .sh, .php, .phpt,
and Markdown files based on the current most used coding style in the
php-src repository.
This commit is contained in:
Peter Kokot 2017-10-11 23:20:57 +02:00 committed by Joe Watkins
parent 4e85dd0346
commit aa143515d6
No known key found for this signature in database
GPG key ID: F9BA0ADA31CBD89E

View file

@ -1,16 +1,35 @@
; http://editorconfig.org/ # http://editorconfig.org/
root = true root = true
[*.{c,h}] [*.{c,h,awk,w32,bat,mk,frag}]
charset = UTF-8 charset = utf-8
end_of_line = LF end_of_line = lf
indent_size = 4 indent_size = 4
indent_style = tab indent_style = tab
insert_final_newline = true
tab_width = 4 tab_width = 4
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true
[*.yml] [*.{php,phpt}]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
[*.{yml,m4,sh}]
charset = utf-8
end_of_line = lf
indent_size = 2 indent_size = 2
indent_style = space indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
charset = utf-8
end_of_line = lf
indent_style = space
trim_trailing_whitespace = false
insert_final_newline = true