From 885624b0b9691562cdc019182985605a84042e5c Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Wed, 21 Dec 2016 18:08:29 +0100 Subject: [PATCH] Add .editorconfig This encodes the indentation style for libdrm and can be used with various editors. See http://editorconfig.org for instructions. Reviewed-by: Emil Velikov Signed-off-by: Thierry Reding --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..893b7be0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# To use this config with your editor, follow the instructions at: +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +insert_final_newline = true + +[*.{c,h}] +indent_style = space +indent_size = 4 + +[{Makefile.*,*.mk}] +indent_style = tab + +[*.m4] +indent_style = space +indent_size = 2 -- 2.11.0