mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-01 21:14:38 +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,29 +15,27 @@ return {
|
||||||
lazy = true,
|
lazy = true,
|
||||||
config = function() end,
|
config = function() end,
|
||||||
opts = {
|
opts = {
|
||||||
extensions = {
|
inlay_hints = {
|
||||||
inlay_hints = {
|
inline = false,
|
||||||
inline = false,
|
},
|
||||||
|
ast = {
|
||||||
|
--These require codicons (https://github.com/microsoft/vscode-codicons)
|
||||||
|
role_icons = {
|
||||||
|
type = "",
|
||||||
|
declaration = "",
|
||||||
|
expression = "",
|
||||||
|
specifier = "",
|
||||||
|
statement = "",
|
||||||
|
["template argument"] = "",
|
||||||
},
|
},
|
||||||
ast = {
|
kind_icons = {
|
||||||
--These require codicons (https://github.com/microsoft/vscode-codicons)
|
Compound = "",
|
||||||
role_icons = {
|
Recovery = "",
|
||||||
type = "",
|
TranslationUnit = "",
|
||||||
declaration = "",
|
PackExpansion = "",
|
||||||
expression = "",
|
TemplateTypeParm = "",
|
||||||
specifier = "",
|
TemplateTemplateParm = "",
|
||||||
statement = "",
|
TemplateParamObject = "",
|
||||||
["template argument"] = "",
|
|
||||||
},
|
|
||||||
kind_icons = {
|
|
||||||
Compound = "",
|
|
||||||
Recovery = "",
|
|
||||||
TranslationUnit = "",
|
|
||||||
PackExpansion = "",
|
|
||||||
TemplateTypeParm = "",
|
|
||||||
TemplateTemplateParm = "",
|
|
||||||
TemplateParamObject = "",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -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