1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00
emacs/.clang-format
Matt Armstrong a0d08878f1 ; Make clang-format handle FOR_EACH_LIVE_BUFFER
* .clang-format (ForEachMacros): Add
FOR_EACH_LIVE_BUFFER.  (Bug#59027)
2022-11-05 01:47:17 +01:00

32 lines
727 B
YAML

Language: Cpp
BasedOnStyle: GNU
AlignEscapedNewlinesLeft: true
AlwaysBreakAfterReturnType: TopLevelDefinitions
BreakBeforeBinaryOperators: All
BreakBeforeBraces: GNU
ColumnLimit: 70
ContinuationIndentWidth: 2
ForEachMacros: [FOR_EACH_TAIL,
FOR_EACH_TAIL_SAFE,
FOR_EACH_LIVE_BUFFER,
ITREE_FOREACH]
IncludeCategories:
- Regex: '^<config\.h>$'
Priority: -1
- Regex: '^<'
Priority: 1
- Regex: '^"lisp\.h"$'
Priority: 2
- Regex: '.*'
Priority: 3
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
PenaltyBreakBeforeFirstCallParameter: 2000
SpaceAfterCStyleCast: true
SpaceBeforeParens: Always
UseTab: Always
# Local Variables:
# mode: yaml
# End: