diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..ac2c744b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# https://editorconfig.org/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{c,h}] +indent_size = 8 +indent_style = tab + +[*.{py,sym}] +indent_size = 4 +indent_style = space + +[{meson.build,meson_options.txt}] +indent_size = 8 +indent_style = tab