From f9f6b563aa50430dcf507bd555e54f9adcba75a9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 24 Jan 2016 23:57:51 +0100 Subject: [PATCH] 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 --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..dec109452 --- /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