nvim: lsp: Remove obsolete flag for clangd

This commit is contained in:
Sanchayan Maity 2022-08-06 11:40:33 +05:30
parent 2102b9983b
commit 1cf5377ae5
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ require('rust-tools').setup(rust_tool_opts)
local servers = {
clangd = {
default_config = {
cmd = { "clangd", "--background-index", "--pch-storage=memory", "--clang-tidy", "--suggest-missing-includes", "--header-insertion=never" },
cmd = { "clangd", "--background-index", "--pch-storage=memory", "--clang-tidy", "--header-insertion=never" },
filetypes = { 'c', 'cpp' },
root_dir = function(fname)
-- We specify build/compile_commands.json as that is where the compile_commands.json