From 17d03971fa9b746323100a8264c2822c5013d333 Mon Sep 17 00:00:00 2001 From: duckdoom5 Date: Thu, 13 Feb 2025 13:46:26 +0100 Subject: [PATCH] Remove include sorting --- .clang-format | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.clang-format b/.clang-format index 3a71ae90..f7b961c9 100644 --- a/.clang-format +++ b/.clang-format @@ -50,7 +50,8 @@ CompactNamespaces : true IndentWidth : 4 IndentCaseLabels : true IndentRequiresClause : true -IncludeBlocks : Regroup +SortIncludes : Never +IncludeBlocks : Preserve KeepEmptyLinesAtTheStartOfBlocks : true MaxEmptyLinesToKeep : 2 EmptyLineAfterAccessModifier : Leave @@ -70,16 +71,6 @@ SpacesInLineCommentPrefix : TabWidth : 4 UseTab : Never -IncludeCategories : - - Regex : '^"' - Priority : 97 - - Regex : '<[[:alnum:].]+>' - Priority : 99 - - Regex : '^<.*' - Priority : 98 - - Regex : '.*' - Priority : 1 - SortPriority : 0 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-