From 743e746e0f220e0718601f81f497fcb374b4d3c3 Mon Sep 17 00:00:00 2001 From: Christian Dietrich Date: Tue, 24 Nov 2020 14:07:39 +0100 Subject: [PATCH] editorconfig: add .editorfile to support a consistent coding style --- .editorconfig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..1195e326 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +# EditorConfig is awesome: https://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 + +[{**/*.cc,**/*.hpp,**/*.ah,**/*.ah.in}] +indent_style = tab +indent_size = 4 + +[*.py] +indent_style = space +indent_size = 4 + +[Makefile] +indent_style = tab + +[CMakeLists.txt] +indent_style = tab +indent_size = 4 + +