lsp-lens.nvim
lsp-lens.nvim copied to clipboard
Configurable text format
Would be nice to have, since i'm planning to mimic the IntelliJ one as close as possible
This is mostly possible, see the image below. The configuration takes a table called sections
where you can define how the text for each type of document symbol is output. It also takes a separator
string. For lazy.nvim, you can do:
{
"VidocqH/lsp-lens.nvim",
opts = {
separator = " ",
sections = {
definition = function(count)
return count .. " definition"
end,
references = function(count)
return count .. " refence"
end,
implements = function(count)
return count .. " implementation"
end,
},
}
}