aboutsummaryrefslogtreecommitdiff
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 0000000..22d449b
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+# https://editorconfig.org
+
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+tab_width = 8
+
+[*.[ch]]
+indent_size = 4
+indent_style = space
+
+[{CMakeLists.txt,*.cmake}]
+indent_size = 2
+indent_style = space
+
+[COMMIT_EDITMSG]
+indent_size = 2
+indent_style = space
+max_line_length = 80