Browse Source

Add EditorConfig support

Alex Marsev 5 years ago
parent
commit
01eedcb250
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      .editorconfig

+ 13
- 0
.editorconfig View File

@@ -0,0 +1,13 @@
1
+root = true
2
+
3
+# NOTE: editorconfig-core-c has a hardcoded limitation of 50 chars per .ini section name
4
+
5
+[src/**.{cpp,h}]
6
+indent_style = space
7
+indent_size = 4
8
+trim_trailing_whitespace = true
9
+insert_final_newline = true
10
+
11
+[src/thirdparty/**]
12
+trim_trailing_whitespace = false
13
+insert_final_newline = false

Loading…
Cancel
Save