return { cmd = { "clangd", "--header-insertion=iwyu", "--background-index", "--clang-tidy", "--log=verbose", }, filetypes = { "c", "cpp", "objc", "objcpp", "cuda", "proto" }, root_markers = { ".clangd", ".clang-tidy", ".clang-format", "compile_commands.json", "compile_flags.txt", "configure.ac", "Makefile", "CMakeLists.txt", ".git", }, single_file_support = true, flags = { debounce_text_changes = 20, }, capabilities = { textDocument = { completion = { editsNearCursor = true } }, } }