From 72aa4910006b9d2343b748ea15f587ceb8857af5 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Wed, 4 Feb 2026 14:33:05 -0800 Subject: suckless includes --- src/emacs/emacs-source/.clang-format | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/emacs/emacs-source/.clang-format (limited to 'src/emacs/emacs-source/.clang-format') diff --git a/src/emacs/emacs-source/.clang-format b/src/emacs/emacs-source/.clang-format new file mode 100644 index 0000000..7929a74 --- /dev/null +++ b/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: '^$' + 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: -- cgit v1.2.3