Fix so clang receives the congifured parameters correctly.
This commit is contained in:
parent
c8566d89f0
commit
8744c577ae
1 changed files with 17 additions and 19 deletions
|
|
@ -82,7 +82,6 @@ local default_capabilities = {
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
default_config = {
|
|
||||||
cmd = {
|
cmd = {
|
||||||
"clangd",
|
"clangd",
|
||||||
"--background-index", -- Enables background indexing
|
"--background-index", -- Enables background indexing
|
||||||
|
|
@ -101,7 +100,6 @@ return {
|
||||||
return util.root_pattern(unpack(root_files))(fname) or util.find_git_ancestor(fname)
|
return util.root_pattern(unpack(root_files))(fname) or util.find_git_ancestor(fname)
|
||||||
end,
|
end,
|
||||||
single_file_support = true,
|
single_file_support = true,
|
||||||
},
|
|
||||||
capabilities = default_capabilities,
|
capabilities = default_capabilities,
|
||||||
docs = {
|
docs = {
|
||||||
description = [[
|
description = [[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue