Is there a way to have the menu.daw.columns[] options show _which_ lsp a suggestion is coming from? #1983
-
For debugging LSP implementations, I'd like to have my menu show me which LSP is providing a suggestion. As-is, today, I have: completion = {
menu = {
auto_show = false,
border = 'single',
draw = {
columns = {
{ "label", "label_description", gap = 1 },
-- source_id is just "lsp" regardless of which lsp
{ "kind_icon", "kind", 'source_id', gap = 1 }
},
}
},
},
}, |
Beta Was this translation helpful? Give feedback.
Answered by
soifou
Jul 8, 2025
Replies: 2 comments
-
yes, you can do this: draw = {
columns = {
-- ...
{ 'source_name' },
},
components = {
source_name = { text = function(ctx) return ctx.item.client_name or ctx.item.source_name end },
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NullVoxPopuli
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes, you can do this: