aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig13
1 files changed, 10 insertions, 3 deletions
diff --git a/.editorconfig b/.editorconfig
index 1923d41..ecd6aac 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,8 +1,15 @@
root = true
[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+
+[*.{c,h}]
+indent_style = space
+indent_size = 8
+
+[meson.build]
indent_style = space
indent_size = 2
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true