feat(LSP): Add a default clangd configuration

In order to achieve the same linting as when compiling a C project, use
those default compilation options for linting inside text editors that
support clangd LSP.
This commit is contained in:
Dionisio E Alonso 2024-01-23 11:26:40 -03:00
parent 29e38da242
commit 7cbc5f95e5
1 changed files with 3 additions and 0 deletions

3
clangd/config.yaml Normal file
View File

@ -0,0 +1,3 @@
CompileFlags:
Add: [-Wall, -Wextra, -Wpedantic, -std=c2x]
Compiler: gcc # Until clang supports the whole C23 standard