mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-02 05:24:35 +02:00
fix(clangd): update setup from upstream changes (#1308)
This commit is contained in:
parent
566049aa4a
commit
73dc5a503f
1 changed files with 21 additions and 23 deletions
|
@ -15,7 +15,6 @@ return {
|
||||||
lazy = true,
|
lazy = true,
|
||||||
config = function() end,
|
config = function() end,
|
||||||
opts = {
|
opts = {
|
||||||
extensions = {
|
|
||||||
inlay_hints = {
|
inlay_hints = {
|
||||||
inline = false,
|
inline = false,
|
||||||
},
|
},
|
||||||
|
@ -41,7 +40,6 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
|
|
||||||
-- Correctly setup lspconfig for clangd 🚀
|
-- Correctly setup lspconfig for clangd 🚀
|
||||||
{
|
{
|
||||||
|
@ -89,7 +87,7 @@ return {
|
||||||
clangd = function(_, opts)
|
clangd = function(_, opts)
|
||||||
local clangd_ext_opts = require("lazyvim.util").opts("clangd_extensions.nvim")
|
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 }))
|
require("clangd_extensions").setup(vim.tbl_deep_extend("force", clangd_ext_opts or {}, { server = opts }))
|
||||||
return true
|
return false
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue