Skip to content

Instantly share code, notes, and snippets.

View lunkums's full-sized avatar
🧼
Sanitizing inputs...

Luke Leedy lunkums

🧼
Sanitizing inputs...
View GitHub Profile
@lunkums
lunkums / .clang-format
Last active February 18, 2025 20:07
Personal .clang-format settings
---
# ==============================================================================
# Prettier-style formatting
# Tested with clang-format version 17
# ==============================================================================
AccessModifierOffset: -1
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: None
AlignConsecutiveAssignments: None
@lunkums
lunkums / .clang-format
Created August 29, 2024 20:37
id Software-inspired .clang-format
---
UseTab: Never
TabWidth: 4
IndentWidth: 4
# Braces
BreakBeforeBraces: Attach
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortEnumsOnASingleLine: false