From feb7b3672867a1526903ff0ea290f46fdc7acc6e Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 12 Dec 2015 17:48:42 +0100 Subject: [PATCH] Add an EditorConfig file I didn't (and couldn't) actually test this in any way, but hopefully this makes it easier to edit awesome's source without vim. Thanks to Daniel Hahler for telling me about this. Signed-off-by: Uli Schlachter --- .editorconfig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..aede4562 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +# See http://editorconfig.org + +# Don't search for other .editconfig files +root = true + +[*] + +# Unix-style newlines +end_of_line = lf + +# There a newline at the end of the file +insert_final_newline = true + +# Trailing whitespaces, no one needs them +trim_trailing_whitespace = true + +# Why would anyone use anything else? +charset = utf-8 + +# This is just what we use, sorry if you disagree +indent_style = space +indent_size = 4 + +# In a Makefile, the tab is significant and not "just" whitespace +[Makefile] +indent_style = tab