From 381d44243070bef86c283c5f23131a60152b3f6f Mon Sep 17 00:00:00 2001 From: Kirill Bobyrev <3352968+kirillbobyrev@users.noreply.github.com> Date: Tue, 4 Jan 2022 03:29:51 +0100 Subject: refactor(clangd): remove obsolete --background-index flag (#1630) --- lua/lspconfig/server_configurations/clangd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/clangd.lua b/lua/lspconfig/server_configurations/clangd.lua index 51c846e1..be9e5629 100644 --- a/lua/lspconfig/server_configurations/clangd.lua +++ b/lua/lspconfig/server_configurations/clangd.lua @@ -38,7 +38,7 @@ local default_capabilities = vim.tbl_deep_extend( return { default_config = { - cmd = { 'clangd', '--background-index' }, + cmd = { 'clangd' }, filetypes = { 'c', 'cpp', 'objc', 'objcpp' }, root_dir = function(fname) local filename = util.path.is_absolute(fname) and fname or util.path.join(vim.loop.cwd(), fname) -- cgit v1.3.1