From 82718d9aafa6d143d5a5a32e2b9401409b0312ea Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 8 Oct 2019 10:57:22 -0400 Subject: [PATCH] Add .editorconfig This is not a complete replacement for clang-format, but it'll at least set people's tab widths correctly. --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..fe8adbb9f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# To use this config on you editor, follow the instructions at: +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +insert_final_newline = true +tab_width = 8 + +[*.{c,h,cpp}] +indent_style = tab +indent_size = 8 +max_line_length = 80