summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2023-01-01 14:18:42 +0100
committermzuenni <michi.zuendorf@gmail.com>2023-01-01 14:18:42 +0100
commit8faa84ca282d51e9ce4fef535e68325adabcebad (patch)
treebaa763e43f97b8a08d5f54984d320a028b7c72fe /.editorconfig
parentc0a4111755fb8b532de3907564707392668c2644 (diff)
added editor config
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..6534041
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*.{cpp,hpp,h}]
+charset = utf-8
+indent_style = tab
+indent_size = 2
+trim_trailing_whitespace = true
+end_of_line = lf
+insert_final_newline = true