Browse Source

Add .editorconfig file

Scott Lahteine 4 years ago
parent
commit
5d3cfbdc9b
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      .editorconfig

+ 19
- 0
.editorconfig View File

@@ -0,0 +1,19 @@
1
+# editorconfig.org
2
+root = true
3
+
4
+[{*.patch,syntax_test_*}]
5
+trim_trailing_whitespace = false
6
+
7
+[{*.c,*.cpp,*.h}]
8
+charset = utf-8
9
+
10
+[{*.c,*.cpp,*.h,Makefile}]
11
+trim_trailing_whitespace = true
12
+insert_final_newline = true
13
+end_of_line = lf
14
+indent_style = space
15
+indent_size = 2
16
+
17
+[{*.py,*.conf,*.sublime-project}]
18
+indent_style = tab
19
+indent_size = 4

Loading…
Cancel
Save