summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorIgor Gnatenko2016-01-24 23:57:51 +0100
committerIgor Gnatenko2016-01-25 00:12:14 +0100
commitf9f6b563aa50430dcf507bd555e54f9adcba75a9 (patch)
tree91e731c7c828191cb3600a3df4fc6300a7d16e5e /.editorconfig
parentlibsmartcols: add 'Since' tag for gtkdoc for some functions (diff)
downloadkernel-qcow2-util-linux-f9f6b563aa50430dcf507bd555e54f9adcba75a9.tar.gz
kernel-qcow2-util-linux-f9f6b563aa50430dcf507bd555e54f9adcba75a9.tar.xz
kernel-qcow2-util-linux-f9f6b563aa50430dcf507bd555e54f9adcba75a9.zip
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 <i.gnatenko.brain@gmail.com>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig14
1 files changed, 14 insertions, 0 deletions
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