This PR adds a new option g:vista#renderer#enable_kind for hiding the textual representation of the kind. This option defaults to !g:vista#renderer#enable_icon because once icons are enabled the textual representation is redundant. Anyway, both options are compatible and users can enable both if they want.
I also, removed the extra spaces when the textual kind or icon kind are empty.
Pull request for: https://github.com/liuchengxu/vista.vim/issues/408
This PR adds a new option
g:vista#renderer#enable_kind
for hiding the textual representation of the kind. This option defaults to!g:vista#renderer#enable_icon
because once icons are enabled the textual representation is redundant. Anyway, both options are compatible and users can enable both if they want.I also, removed the extra spaces when the textual kind or icon kind are empty.
SCREENSHOTS
coc, icon 1, kind 0
coc, icon 1, kind 1
ctags, icon 1, kind 0
ctags, icon 1, kind 1