From: Gerd Hoffmann Date: Mon, 17 Jul 2017 10:15:47 +0000 (+0200) Subject: add editorconfig X-Git-Tag: v2.10.0-rc0~29^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a62e20f6f84d747e55891a0d8aadd0737297571e;p=thirdparty%2Fqemu.git add editorconfig Add a .editorconfig file for qemu. Specifies the indent and tab style for various files (C code and Makefiles for starters). Most popular editors support this either natively or via plugin. Check http://editorconfig.org/ for details. Signed-off-by: Gerd Hoffmann Message-id: 20170717101547.22295-1-kraxel@redhat.com --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..b2022e391ab --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# http://editorconfig.org +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +[Makefile*] +indent_style = tab +indent_size = 8 + +[*.{c,h}] +indent_style = space +indent_size = 4