caem
9a59dfb308
clangd doesn't work the way I want it to with C. ccls doesn't work the way I want it to with C++. So now I use both for each ones they work well with.
8 lines
199 B
Lua
8 lines
199 B
Lua
return function ()
|
|
require"lspconfig".clangd.setup {
|
|
capabilities = require"cmp_nvim_lsp".default_capabilities(),
|
|
filetypes = {
|
|
"cpp", "objc", "objcpp", "cuda", "proto"
|
|
}
|
|
}
|
|
end
|