From 2b2d78b5c0cbc036580d402284e581415babdc32 Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Tue, 30 Aug 2022 09:09:35 +0200 Subject: [PATCH] Improve formatting of includes --- .clang-format | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.clang-format b/.clang-format index 93f3f29..e593f29 100644 --- a/.clang-format +++ b/.clang-format @@ -39,6 +39,18 @@ BreakInheritanceList: BeforeComma ColumnLimit: 100 CompactNamespaces: false ContinuationIndentWidth: 2 +IncludeBlocks: Regroup +IncludeCategories: + - Regex: '^$' + Priority: 5 IndentCaseLabels: true IndentPPDirectives: None IndentWidth: 2