Skip to content

Commit

Permalink
meta: fix disabling of clangd auto header insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Feb 8, 2025
1 parent 6e887c8 commit 48a7dd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions .clangd
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ CompileFlags:

Diagnostics:
UnusedIncludes: None

HeaderInsertion:
IncludeBlocks: Preserve # Do not auto-include headers.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"editor.tabSize": 4,
"editor.defaultFormatter": "xaver.clang-format",
},
"clangd.arguments": ["--header-insertion=never"],

// JavaScript
"prettier.enable": true,
Expand Down

0 comments on commit 48a7dd6

Please sign in to comment.