From b128aee83db2ca7e8c30af2f0f857bb72783870a Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Fri, 9 Aug 2019 14:03:13 +0300 Subject: [PATCH] Add .editorconfig file to match clang-format --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0c7f4cb --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +charset = utf-8 +tab_width = 8 +end_of_line = lf +max_line_length = 78 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.[ch]] +indent_style = space +indent_size = 4 + +[Makefile] +indent_style = tab