summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJohnny Richard <johnny@johnnyrichard.com>2025-04-14 23:22:57 +0200
committerJohnny Richard <johnny@johnnyrichard.com>2025-04-14 23:22:57 +0200
commitb3bd068f614a46580ee3e5688dd9cfd40694d75b (patch)
tree45183f99a8373527caa03ff473c4e40fe07cd459 /.editorconfig
parent63104d34e1c1772131f6366f825e67f38d027dba (diff)
Define clang-format and .editorconfig settingsHEADmaster
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..c1a0c73
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+[*.{c,h}]
+indent_style = space
+indent_size = 4
+
+[Makefile]
+indent_style = tab