feat: clangd setup
This commit is contained in:
parent
468a358a68
commit
98a005d6f3
@ -3,4 +3,11 @@
|
|||||||
-- License : GPLv3
|
-- License : GPLv3
|
||||||
-- Description : clangd config file for lsp
|
-- Description : clangd config file for lsp
|
||||||
|
|
||||||
require("lspconfig").clangd.setup {}
|
require("lspconfig").clangd.setup {
|
||||||
|
cmd = { "clangd",
|
||||||
|
"--background-index",
|
||||||
|
"--suggest-missing-includes",
|
||||||
|
"--clang-tidy",
|
||||||
|
"--header-insertion=iwyu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user