Option to show or hide the textual description of the symbol kind in lsp renderer
emarbo opened this issue Β· comments
Hi! Thank you for this great plugin π
I have recently enabled the icons (g:vista#renderer#enable_icon
) and configured them properly to work with my font but now I see the kind information duplicated by the icon and the textual description:
It would be great to disable the textual description as it's more verbose and redundant. If I'm right, there's no option yet for doing so.
I think the best solution is to add a new flag g:vista#renderer#enable_kind
that defaults to 1 for backwards compatibility. As far as I know, modifying this function should do the trick for the CoC:
vista.vim/autoload/vista/renderer/hir/lsp.vim
Lines 7 to 12 in cb908f2
And these lines for the ctags:
vista.vim/autoload/vista/renderer/hir/ctags.vim
Lines 20 to 36 in cb908f2
If you think this flag worths it, let me know and I can prepare a PR in the next days.
Please go ahead, it's ok with me.