clang-format: Use IncludeBlocks::Regroup
This commit is contained in:
@@ -12,6 +12,21 @@ BreakBeforeBraces: Allman
|
|||||||
ColumnLimit: 0
|
ColumnLimit: 0
|
||||||
ContinuationIndentWidth: 2
|
ContinuationIndentWidth: 2
|
||||||
Cpp11BracedListStyle: false
|
Cpp11BracedListStyle: false
|
||||||
|
IncludeBlocks: Regroup
|
||||||
|
IncludeCategories:
|
||||||
|
- Regex: '"config\.h"'
|
||||||
|
Priority: -1
|
||||||
|
CaseSensitive: true
|
||||||
|
- Regex: '"[^/]*"'
|
||||||
|
Priority: 0
|
||||||
|
SortPriority: 1
|
||||||
|
CaseSensitive: true
|
||||||
|
- Regex: '".*"'
|
||||||
|
Priority: 2
|
||||||
|
CaseSensitive: true
|
||||||
|
- Regex: '<.*>'
|
||||||
|
Priority: 3
|
||||||
|
CaseSensitive: true
|
||||||
IndentCaseLabels: true
|
IndentCaseLabels: true
|
||||||
InsertNewlineAtEOF: true
|
InsertNewlineAtEOF: true
|
||||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
/* for struct vmtotal */
|
/* for struct vmtotal */
|
||||||
#include <sys/vmmeter.h>
|
#include <sys/vmmeter.h>
|
||||||
|
|
||||||
|
/* errno */
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#ifdef HAVE_WNCK
|
#ifdef HAVE_WNCK
|
||||||
#include "app-manager.h"
|
#include "app-manager.h"
|
||||||
|
|
||||||
#include <gdk/gdkx.h>
|
#include <gdk/gdkx.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user