diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ce6000d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,30 @@ +root = true + +[*] +charset = utf-8 + +[*.{c,h}] +indent_style = space +indent_size = 4 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[configure.ac] +indent_style = tab +indent_size = 8 + +[Makefile.am] +indent_style = tab +indent_size = 8 + +[.travis.yml] +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false + +[meson.build] +indent_style = space +indent_size = 8