summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..fcfaf76a9
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+root = true
+
+[*]
+end_of_line = lf
+indent_size = 4
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+# 4 space indentation
+#[*.py]
+#indent_style = space
+#indent_size = 4
+
+#[{CMakeLists.txt,*.cmake}]
+#indent_style = space
+#indent_size = 4
+
+#[*.{c,cpp,h,hpp}]
+#indent_style = space
+#indent_size = 4 \ No newline at end of file