fix(clangd): update setup from upstream changes (#1308)

This commit is contained in:
Amaan Qureshi 2023-08-29 11:57:09 -04:00 committed by GitHub
parent 566049aa4a
commit 73dc5a503f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,6 @@ return {
lazy = true,
config = function() end,
opts = {
extensions = {
inlay_hints = {
inline = false,
},
@ -41,7 +40,6 @@ return {
},
},
},
},
-- Correctly setup lspconfig for clangd 🚀
{
@ -89,7 +87,7 @@ return {
clangd = function(_, opts)
local clangd_ext_opts = require("lazyvim.util").opts("clangd_extensions.nvim")
require("clangd_extensions").setup(vim.tbl_deep_extend("force", clangd_ext_opts or {}, { server = opts }))
return true
return false
end,
},
},