From bd60a4970d95ac41f865dd1b22f6eadb560fa6f1 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 30 Oct 2019 04:46:15 +0100 Subject: [PATCH] Specify different indentation for CMake files in EditorConfig. --- .editorconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 66c443a..ad5e59f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,10 +5,16 @@ root = true [*] indent_style = space -indent_size = 4 -tab_width = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true max_line_length = 80 + +[*.?pp] +indent_size = 4 +tab_width = 4 + +[{CMakeLists.txt,*.cmake}] +indent_size = 2 +tab_width = 2