From df0a98b2a4a3bd9244700a76edc08e8b5a73428c Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 26 Mar 2020 10:48:03 +0100 Subject: [PATCH] Docs: make editorconfig for CMake explicit (4-space indents) --- .editorconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.editorconfig b/.editorconfig index d282d6273..d5851076b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,16 @@ charset = utf-8 end_of_line = lf trim_trailing_whitespace = true +[CMakeLists.txt] +indent_style = space +indent_size = 4 +insert_final_newline = true + +[*.cmake] +indent_style = space +indent_size = 4 +insert_final_newline = true + [*.{py,cpp,h}] indent_style = space indent_size = 4