From bf5ffbb0aff762cd4640141a76a3afebad02ad89 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Thu, 27 Aug 2015 23:15:01 -0400 Subject: [PATCH] Common .editorconfig file for text editors --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig 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 + -- 2.30.2