From bc4a9e03c61f33a2cd3304f3f02fef19d867b1ff Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Sat, 30 Jun 2018 16:29:40 +0900 Subject: [PATCH] Add a .editorconfig file (4 spaces indentation) --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5ca9c0f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# http://EditorConfig.org + +# Top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file, utf-8 charset +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 + +# Match config files, set indent to spaces with width of 4 +[*.{c,cc,cpp,h,rs}] +indent_style = space +indent_size = 4 -- 2.25.1