aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format12
1 files changed, 10 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index 5e31777265..a37e2fdbd1 100644
--- a/.clang-format
+++ b/.clang-format
@@ -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 \ No newline at end of file