summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig15
-rw-r--r--.gitignore2
2 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..4f7db73
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+# Editor configuration file
+# https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# General stype
+[*]
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+# Tab indentation
+[*.{c,cpp,h}]
+indent_style = space
+indent_size = 2
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..fa797e5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+tmp/
+copy_doc.bat