From 2c12222066c274be57ba4b16c6c0f015f7098a63 Mon Sep 17 00:00:00 2001 From: Jan Christoph Uhde Date: Mon, 20 Mar 2023 20:18:22 +0100 Subject: [PATCH] add: .editorconfig --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..bc4d0c6 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +charset = utf-8 +indent_style = space +indent_size = 4 +end_of_line = lf + +[*.{c,cppi,cc,h,hpp}] +indent_size = 2 + +# Tab indentation (no size specified) +[Makefile,makefile,GNUmakefile] +indent_style = tab + +#[*.{js,py}]