Skip to content

Commit

Permalink
fix(clangd): update setup from upstream changes (#1308)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Aug 29, 2023
1 parent 566049a commit 73dc5a5
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions lua/lazyvim/plugins/extras/lang/clangd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,27 @@ return {
lazy = true,
config = function() end,
opts = {
extensions = {
inlay_hints = {
inline = false,
inlay_hints = {
inline = false,
},
ast = {
--These require codicons (https://github.com/microsoft/vscode-codicons)
role_icons = {
type = "",
declaration = "",
expression = "",
specifier = "",
statement = "",
["template argument"] = "",
},
ast = {
--These require codicons (https://github.com/microsoft/vscode-codicons)
role_icons = {
type = "",
declaration = "",
expression = "",
specifier = "",
statement = "",
["template argument"] = "",
},
kind_icons = {
Compound = "",
Recovery = "",
TranslationUnit = "",
PackExpansion = "",
TemplateTypeParm = "",
TemplateTemplateParm = "",
TemplateParamObject = "",
},
kind_icons = {
Compound = "",
Recovery = "",
TranslationUnit = "",
PackExpansion = "",
TemplateTypeParm = "",
TemplateTemplateParm = "",
TemplateParamObject = "",
},
},
},
Expand Down Expand Up @@ -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,
},
},
Expand Down

0 comments on commit 73dc5a5

Please sign in to comment.