summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2023-09-23 12:53:46 -0500
committerMichael Hunteman <michael@huntm.net>2023-10-21 21:48:03 -0500
commit9891f38ddcca971fa21ab61e7a70832c8c877b0a (patch)
tree1e820435b42c5c8187bb6d17b3ff1c204c933c1a /.editorconfig
Initial commitHEADmaster
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..e2f0bbd
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+root = true
+
+[*.{c,h}]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+trim_trailing_whitespace = true
+indent_style = tab
+indent_size = 8
+max_line_length = 80
+
+[*.md]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = false