diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-02-04 14:33:05 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-02-04 14:33:05 -0800 |
| commit | be7fb7b57a97147b40b5d8203f6241015755a51d (patch) | |
| tree | 79bb694f714d5861c3dd6f6cc548986fce5f1429 /tree/src/emacs/emacs-source/.clang-format | |
| parent | b378cb8f0e774b3e21671fca22de20b71cbac214 (diff) | |
suckless includes
Diffstat (limited to 'tree/src/emacs/emacs-source/.clang-format')
| -rw-r--r-- | tree/src/emacs/emacs-source/.clang-format | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tree/src/emacs/emacs-source/.clang-format b/tree/src/emacs/emacs-source/.clang-format new file mode 100644 index 0000000..7929a74 --- /dev/null +++ b/tree/src/emacs/emacs-source/.clang-format @@ -0,0 +1,44 @@ +BasedOnStyle: GNU +AlignEscapedNewlinesLeft: true +AlignOperands: Align +AlwaysBreakAfterReturnType: TopLevelDefinitions +BreakBeforeBinaryOperators: All +BreakBeforeBraces: GNU +ColumnLimit: 70 +ContinuationIndentWidth: 2 +IndentPPDirectives: AfterHash +PPIndentWidth: 1 +ForEachMacros: + - FOR_EACH_TAIL + - FOR_EACH_TAIL_SAFE + - FOR_EACH_LIVE_BUFFER + - ITREE_FOREACH + - FOR_EACH_ALIST_VALUE +IncludeCategories: + - Regex: '^<config\.h>$' + Priority: -1 + - Regex: '^<' + Priority: 1 + - Regex: '^"lisp\.h"$' + Priority: 2 + - Regex: '.*' + Priority: 3 +WhitespaceSensitiveMacros: + - STR + - CALL1I + - CALL2I + - STR_VALUE +KeepEmptyLinesAtTheStartOfBlocks: false +MaxEmptyLinesToKeep: 1 +PenaltyBreakBeforeFirstCallParameter: 2000 +SpaceAfterCStyleCast: true +SpaceBeforeParens: Always +UseTab: Always +--- +Language: Cpp +--- +Language: ObjC + +# Local Variables: +# mode: yaml +# End: |
