feat: clangd setup

This commit is contained in:
David JULIEN 2021-05-23 00:49:37 +02:00
parent 468a358a68
commit 98a005d6f3

View File

@ -3,4 +3,11 @@
-- License : GPLv3
-- 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"
}
}