fix(lang.clang): fix clangd_extensions.nvim

This commit is contained in:
Iordanis Petkakis 2025-11-20 19:07:46 +02:00
parent c64a61734f
commit b2244dfbcb

View file

@ -23,8 +23,7 @@ return {
{ {
"p00f/clangd_extensions.nvim", "p00f/clangd_extensions.nvim",
lazy = true, ft = { "c", "cpp", "objc", "objcpp" },
config = function() end,
opts = { opts = {
inlay_hints = { inlay_hints = {
inline = false, inline = false,
@ -94,13 +93,6 @@ return {
}, },
}, },
}, },
setup = {
clangd = function(_, opts)
local clangd_ext_opts = LazyVim.opts("clangd_extensions.nvim")
require("clangd_extensions").setup(vim.tbl_deep_extend("force", clangd_ext_opts or {}, { server = opts }))
return false
end,
},
}, },
}, },