From: Igor Gnatenko Date: Sun, 24 Jan 2016 22:57:51 +0000 (+0100) Subject: add .editorconfig X-Git-Tag: v2.28-rc1~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9f6b563aa50430dcf507bd555e54f9adcba75a9;p=thirdparty%2Futil-linux.git add .editorconfig EditorConfig is very well known config file for text editors/IDE's with settings for project. This format supported by Vim, GNOME Builder, Atom, Sublime and many others. We will provide this configuration to be more friendly for newcomers. Signed-off-by: Igor Gnatenko --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..dec1094527 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true + +[*.[ch]] +indent_style = tab +indent_size = 8 +trim_trailing_whitespace = true + +[*.sym] +indent_style = tab +indent_size = 4 +trim_trailing_whitespace = true