From 0acd2b9c88eeed1ab03fbbc6e65c4294f868393f Mon Sep 17 00:00:00 2001 From: Chris White Date: Sat, 14 Jan 2023 18:04:30 -0500 Subject: [PATCH] Add EditorConfig file Four-space indents in C++ files; two-space indents in Markdown and YAML. --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..05bbdec --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space + +[CMakeLists.txt] +indent_size = 4 + +[*.{c,h}*] +indent_size = 4 + +[*.{md,yml}] +indent_size = 2