0
0
mirror of https://github.com/fredrikr79/SnakeDL3.git synced 2025-05-28 18:04:25 +02:00

chore: configure clangd lsp+formatting

This commit is contained in:
Fredrik Robertsen 2025-02-01 10:22:33 +01:00
parent b7ec69306f
commit 4f129a157e
2 changed files with 17 additions and 0 deletions

6
.clang-format Normal file

@ -0,0 +1,6 @@
# Common settings
BasedOnStyle: llvm # WebKit
TabWidth: 4
IndentWidth: 4
UseTab: Never
ColumnLimit: 80

11
.clangd Normal file

@ -0,0 +1,11 @@
CompileFlags:
Compiler: gcc
Add: [
-Wall,
-Wextra,
-pedantic,
-Llib,
-lpthread,
-Iinclude,
-lSDL3,
]