mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
22 lines
354 B
Lua
22 lines
354 B
Lua
local M = {}
|
|
|
|
M.setup = function(lsp, capabilities)
|
|
capabilities = capabilities
|
|
lsp.clangd.setup({
|
|
capabilities = capabilities,
|
|
settings = {
|
|
clangd = {
|
|
InlayHints = {
|
|
Designators = true,
|
|
Enabled = true,
|
|
ParameterNames = true,
|
|
DeducedTypes = true,
|
|
},
|
|
fallbackFlags = { "-std=c++20" },
|
|
},
|
|
},
|
|
})
|
|
end
|
|
|
|
return M
|