EditorConfig essentials

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2025-12-07 12:09:41 +00:00
parent 0fd945b3db
commit c9d3f050a1
No known key found for this signature in database
GPG Key ID: 5E39D70B4C93C38E

View File

@ -1,11 +1,22 @@
# EditorConfig specs and documentation: https://EditorConfig.org # EditorConfig specs and documentation: https://EditorConfig.org
# top-most EditorConfig file # top-most EditorConfig file
root = true root = true
# C++ Code Style settings [*]
[*.{c++,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}] indent_style = space
cpp_generate_documentation_comments = doxygen_slash_star indent_size = 4
end_of_line = lf
[CMakeLists.txt] charset = utf-8
ij_continuation_indent_size = 4 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