aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2023-12-17 14:12:52 +0100
committerAleksander Morgado <aleksander@aleksander.es>2023-12-18 12:01:07 +0000
commit3aef62c5f63ff4e6bb6582ab6ddf079208fddc65 (patch)
tree2c5568b5f1daab4112024109fc19cac15df1feb4
parentdc3171fae44d8ffe3b74f2b0f1365610f1ec8578 (diff)
build: add EditorConfig configuration file
EditorConfig projects helps maintaining consistent coding styles across various editors and IDEs.
-rw-r--r--.editorconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..f70fa48b
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+root = true
+
+[*]
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = false
+
+[{*.c,*.h}]
+indent_style = space
+indent_size = 4
+tab_width = 4
+
+[meson.build]
+indent_size = 2
+indent_style = space