mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 16:17:23 +02:00
Update include order in .clang-format
We generally want system headers included above project ones. In one case <linux/limits.h> needs to be above other system headers.
This commit is contained in:
parent
fad889db45
commit
f48c58f34c
@ -39,16 +39,14 @@ SortIncludes: true
|
|||||||
# IncludeBlocksStyle changed to IncludeBlocks, between xenial and disco, so we can't use it for consistency
|
# IncludeBlocksStyle changed to IncludeBlocks, between xenial and disco, so we can't use it for consistency
|
||||||
# IncludeBlocks: Regroup
|
# IncludeBlocks: Regroup
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^"gamemode.h"'
|
- Regex: '^<linux\/'
|
||||||
Priority: 0
|
Priority: 0
|
||||||
- Regex: '^"build-'
|
|
||||||
Priority: 1
|
|
||||||
- Regex: '^"common-'
|
|
||||||
Priority: 2
|
|
||||||
- Regex: '^"gamemode-'
|
|
||||||
Priority: 3
|
|
||||||
- Regex: '^<'
|
- Regex: '^<'
|
||||||
Priority: 4
|
Priority: 1
|
||||||
|
- Regex: '^"gamemode.h"'
|
||||||
|
Priority: 2
|
||||||
|
- Regex: '^"'
|
||||||
|
Priority: 3
|
||||||
# IncludeIsMainRegex: (project doesn't use a main includes that can add other includes via regex)
|
# IncludeIsMainRegex: (project doesn't use a main includes that can add other includes via regex)
|
||||||
IndentCaseLabels: false
|
IndentCaseLabels: false
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user