From 00be7622c428f279872f84569f098ce16150f8a8 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 15:52:06 +0200 Subject: add clang-format and editorconfig --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f489b30 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +[*.{c,cpp,h}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true + +[meson.{build,options}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true -- cgit v1.2.3