Add editor tooling configuration
clangd fallback flags, clang-format style, clang-tidy checks, and gitignore for the autotools-generated artifacts. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# .clang-format — nulsl-libc style.
|
||||
#
|
||||
# Rule of thumb: 4-space indent, 100 columns, allman braces off, keep it
|
||||
# boring. Run `clang-format -i` on your diff before opening a PR.
|
||||
|
||||
BasedOnStyle: LLVM
|
||||
IndentWidth: 4
|
||||
ColumnLimit: 100
|
||||
PointerAlignment: Left
|
||||
DerivePointerAlignment: false
|
||||
SortIncludes: true
|
||||
BreakBeforeBraces: Attach
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
Reference in New Issue
Block a user