summaryrefslogtreecommitdiff
path: root/cmark/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'cmark/.editorconfig')
-rw-r--r--cmark/.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/cmark/.editorconfig b/cmark/.editorconfig
new file mode 100644
index 0000000000..9223a323ec
--- /dev/null
+++ b/cmark/.editorconfig
@@ -0,0 +1,21 @@
+# editorconfig.org
+
+root = true
+
+[*]
+end_of_line = lf
+charset = utf-8
+insert_final_newline = true
+
+[*.{c,h}]
+trim_trailing_whitespace = true
+indent_style = space
+indent_size = 2
+
+[Makefile]
+trim_trailing_whitespace = true
+indent_style = tab
+indent_size = 8
+
+[Makefile.nmake]
+end_of_line = crlf