just gonna put the changes that I can remember making here: - replace blink with native completion (omnifunc) - remove some unneeded plugins - add a misc function for making sure complex bindings don't cause flickering - remove some stale snippets - remove folding (I don't find myself folding that often)
20 lines
391 B
Lua
20 lines
391 B
Lua
return {
|
|
cmd = {
|
|
"clangd",
|
|
"--background-index",
|
|
"--clang-tidy",
|
|
"--header-insertion=iwyu",
|
|
"--completion-style=detailed",
|
|
"--function-arg-placeholders",
|
|
"--fallback-style=llvm"
|
|
},
|
|
|
|
init_options = {
|
|
usePlaceholders = true,
|
|
clangdFileStatus = true,
|
|
fallback_flags = {
|
|
-- "-xc" -- makes clangd think we"re using c instead of c++
|
|
}
|
|
}
|
|
}
|