Browse Source

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 <psychon@znc.in>
Uli Schlachter 3 years ago
parent
commit
feb7b36728
1 changed files with 26 additions and 0 deletions
  1. 26
    0
      .editorconfig

+ 26
- 0
.editorconfig View File

@@ -0,0 +1,26 @@
1
+# See http://editorconfig.org
2
+
3
+# Don't search for other .editconfig files
4
+root = true
5
+
6
+[*]
7
+
8
+# Unix-style newlines
9
+end_of_line = lf
10
+
11
+# There a newline at the end of the file
12
+insert_final_newline = true
13
+
14
+# Trailing whitespaces, no one needs them
15
+trim_trailing_whitespace = true
16
+
17
+# Why would anyone use anything else?
18
+charset = utf-8
19
+
20
+# This is just what we use, sorry if you disagree
21
+indent_style = space
22
+indent_size = 4
23
+
24
+# In a Makefile, the tab is significant and not "just" whitespace
25
+[Makefile]
26
+indent_style = tab

Loading…
Cancel
Save