nvim: lsp: Never insert #include directives as part of code completion for clangd
This commit is contained in:
parent
61e617e494
commit
e07afd2c65
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ nvim_lsp.clangd.setup {
|
|||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
default_config = {
|
||||
cmd = { "clangd", "--background-index", "--pch-storage=memory", "--clang-tidy", "--suggest-missing-includes" },
|
||||
cmd = { "clangd", "--background-index", "--pch-storage=memory", "--clang-tidy", "--suggest-missing-includes", "--header-insertion=never" },
|
||||
filetypes = { 'c', 'cpp' },
|
||||
root_dir = function(fname)
|
||||
-- We specify build/compile_commands.json as that is where the compile_commands.json
|
||||
|
|
Loading…
Reference in a new issue