diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..77dc7df6 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +max_line_length = 80 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = false + +[*.{c,h}] +indent_style = space +indent_size = 4 +tab_width = 4 + +[{CMakeLists.txt,*.cmake}] +indent_style = space +indent_size = 4 +tab_width = 4