From c9d3f050a16d9b8cf8314c332d05c7be6fd88978 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Sun, 7 Dec 2025 12:09:41 +0000 Subject: [PATCH] EditorConfig essentials Signed-off-by: TheKodeToad --- .editorconfig | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/.editorconfig b/.editorconfig index 52510c515..03b99379b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,11 +1,22 @@ -# EditorConfig specs and documentation: https://EditorConfig.org - -# top-most EditorConfig file -root = true - -# C++ Code Style settings -[*.{c++,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}] -cpp_generate_documentation_comments = doxygen_slash_star - -[CMakeLists.txt] -ij_continuation_indent_size = 4 \ No newline at end of file +# EditorConfig specs and documentation: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{yml,nix}] +indent_size = 2 + +# C++ Code Style settings +[*.{c++,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}] +cpp_generate_documentation_comments = doxygen_slash_star + +[CMakeLists.txt] +ij_continuation_indent_size = 4