aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-04 22:00:20 +0200
committerStefan Boberg <[email protected]>2021-09-04 22:00:20 +0200
commit6382c82c477962929687929c93fa53f188878abe (patch)
tree4e58bb6e60f553345705e7eeec0f342b95a9f137
parentSilence truncation warning (diff)
downloadzen-6382c82c477962929687929c93fa53f188878abe.tar.xz
zen-6382c82c477962929687929c93fa53f188878abe.zip
Cleaned up editorconfig
-rw-r--r--.editorconfig12
1 files changed, 7 insertions, 5 deletions
diff --git a/.editorconfig b/.editorconfig
index b75247496..e81597314 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,11 +1,16 @@
# Visual Studio generated .editorconfig file with C++ settings.
root = true
-[*.{c++,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}]
+indent_style = tab
+indent_size = 4
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.{cpp,h,inl}]
# Visual C++ Code Style settings
-cpp_generate_documentation_comments = xml
+cpp_generate_documentation_comments = doxygen_slash_star
# Visual C++ Formatting settings
@@ -67,6 +72,3 @@ cpp_space_around_assignment_operator = insert
cpp_space_pointer_reference_alignment = left
cpp_space_around_ternary_operator = insert
cpp_wrap_preserve_blocks = one_liners
-
-indent_style = tab
-indent_size = 4