Parcourir la source

clang-format: suppress include main regex

Michele Caini il y a 2 ans
Parent
commit
e0e3786089
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      .clang-format

+ 1 - 0
.clang-format

@@ -23,6 +23,7 @@ IncludeCategories:
     Priority: 4
   - Regex: '.*'
     Priority: 5
+IncludeIsMainRegex: "^$"
 IndentPPDirectives: AfterHash
 IndentWidth: 4
 KeepEmptyLinesAtTheStartOfBlocks: false