From b1e9c9ae07bcdffb23925162e261633be2ee9bfe Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Fri, 16 Sep 2016 15:54:57 +0200 Subject: Add .editorconfig file See http://editorconfig.org Change-Id: Ia571ca5d53fb9f02bd8d208b922c8ec5ef1939e5 Reviewed-on: https://gerrit.libreoffice.org/28962 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- .editorconfig | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .editorconfig (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..4a5babf151d3 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,25 @@ +# EditorConfig: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# General settings +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true + +# Source code files +[*.{c,cxx,cpp,h,hxx,hpp,java,py}] +indent_style = space +indent_size = 4 + +# Makefiles +[{Makefile,*.mk}] +indent_style = tab +trim_trailing_whitespace = false + +# Patch files +[*.patch.*] +trim_trailing_whitespace = false -- cgit