From 0dafc0d83c3e4c48c0ab2efad4b160d1b8c6d252 Mon Sep 17 00:00:00 2001 From: stickies-v Date: Mon, 19 Jan 2026 17:06:07 +0000 Subject: [PATCH] clang-format: use AngleBracket for main includes This project uses angle brackets instead of quotes for project-specific headers. Setting MainIncludeChar enables clang-format to automatically detect the main header, so it can be kept as the top group of includes. For example, without this change, the below command would demote from being the main header. With this change, the order is preserved. `clang-format -i src/signet.cpp` --- src/.clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.clang-format b/src/.clang-format index 4db09138556..2b74e40b41d 100644 --- a/src/.clang-format +++ b/src/.clang-format @@ -142,6 +142,7 @@ LambdaBodyIndentation: Signature LineEnding: DeriveLF MacroBlockBegin: '' MacroBlockEnd: '' +MainIncludeChar: AngleBracket MaxEmptyLinesToKeep: 2 NamespaceIndentation: None ObjCBinPackProtocolList: Auto