* src/keyboard.c: Consolidate code into make_lispy_event
[emacs.git] / .clang-format
blob7895ada36da80b2667f5f1929465d4534e023ebf
1 Language: Cpp
2 BasedOnStyle: LLVM
3 AlignEscapedNewlinesLeft: true
4 AlwaysBreakAfterReturnType: TopLevelDefinitions
5 BreakBeforeBinaryOperators: All
6 BreakBeforeBraces: GNU
7 ColumnLimit: 80
8 ContinuationIndentWidth: 2
9 ForEachMacros: [FOR_EACH_TAIL, FOR_EACH_TAIL_SAFE]
10 IncludeCategories:
11   - Regex: '^<config\.h>$'
12     Priority: -1
13   - Regex: '^<'
14     Priority: 1
15   - Regex: '^"lisp\.h"$'
16     Priority: 2
17   - Regex: '.*'
18     Priority: 3
19 KeepEmptyLinesAtTheStartOfBlocks: false
20 MaxEmptyLinesToKeep: 1
21 PenaltyBreakBeforeFirstCallParameter: 2000
22 SpaceAfterCStyleCast: true
23 SpaceBeforeParens: Always
25 # Local Variables:
26 # mode: yaml
27 # End: