aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-19 12:45:06 -0700
committerhnOsmium0001 <[email protected]>2022-04-19 12:45:06 -0700
commit54e2e09ef1203d71e503c79d2eddadfa71b88322 (patch)
tree51096383394b81a18c427d4b89080b6308f7bb97 /.editorconfig
parent6234cefaaf18f377256c035c7c861bbb6ec7a8a6 (diff)
Add .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..ce922ba
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,19 @@
+# http://editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 4
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.cmake,CMakeLists.txt]
+indent_style = tab
+
+[*.{h,c,hpp,cpp,inl}]
+indent_style = tab
+
+[*.md]
+trim_trailing_whitespace = false