From: Phil Pennock Date: Fri, 28 Aug 2015 03:15:01 +0000 (-0400) Subject: Common .editorconfig file for text editors X-Git-Tag: exim-4_87_RC1~105 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/bf5ffbb0aff762cd4640141a76a3afebad02ad89 Common .editorconfig file for text editors --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..002005172 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# Common text-editor configuration for Exim +# http://editorconfig.org/ + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +[*.{c,h}] +indent_style = space +indent_size = 2 +tab_width = 8 +trim_trailing_whitespace = true +# vim users try: cinoptions=>1s,{1s + +# Tab indentation (no size specified) +[Makefile] +indent_style = tab +