refactor(build): remove unused includes #17078

Remove unused includes in src/nvim/buffer.c|h using the IWYU library.
Yet another step towards #6371 and #549
This commit is contained in:
kylo252
2022-04-27 06:38:12 +02:00
committed by GitHub
parent 5f3018fa1a
commit 0d41c4dee1
9 changed files with 19 additions and 17 deletions

View File

@ -36,8 +36,16 @@ BraceWrapping:
BeforeElse: false
IndentBraces: false
PointerAlignment: Right
SortIncludes: false
SortIncludes: true
Cpp11BracedListStyle: false
IncludeCategories:
- Regex: '<[/[:alnum:].]+>'
Priority: 0
- Regex: '^"(nvim|vim)/'
Priority: 1
SortPriority: 1
CaseSensitive: false
IndentPPDirectives: AfterHash
SpaceBeforeParens: ControlStatementsExceptControlMacros
ForEachMacros:
- FOR_ALL_AUEVENTS
@ -54,4 +62,4 @@ ForEachMacros:
- RBUFFER_EACH_REVERSE
- RBUFFER_UNTIL_EMPTY
- RBUFFER_UNTIL_FULL
- kl_iter
- kl_iter