# .clangd — LSP configuration for nulsl-libc. # # Fallback flags used when compile_commands.json is absent. After running # `make compile_commands` (requires bear), clangd uses the exact build # flags from bin/release/ instead, and these are merged on top. CompileFlags: Compiler: clang Add: - -std=c17 - -Iinclude - -ffreestanding - -fno-builtin - -Wall - -Wextra # Treat all headers as project headers so warnings apply inside them. Diagnostics: Suppress: - unknown-pragmas