You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for _, hint in pairs(result) do
local text = ""
for _, labelPart in ipairs(hint.label) do
text = text .. labelPart.value
end
if hint.paddingLeft then text = " " .. text end
if hint.paddingRight then text = text .. " " end
local line = hint.position.line
if line == current_line - 1 or not config.options.inlay_hints.only_current_line then
local col = hint.position.character
vim.api.nvim_buf_set_extmark(bufnr, namespace, line, col, {
virt_text_pos = "inline",
virt_text = {
{ text, config.options.inlay_hints.highlight },
},
hl_mode = "combine",
priority = config.options.inlay_hints.priority,
})
end
end
Logs
reply:textDocument/inlayHint
label
ofreply:textDocument/inlayHint
is no longerstring
but an array of table.clangd_extensions.nvim/lua/clangd_extensions/inlay_hints.lua
Lines 246 to 265 in 2992ba8
The text was updated successfully, but these errors were encountered: