autozimu/LanguageClient-neovim

Use NeoVim Virtual Text

pwntester opened this issue · 8 comments

Hi,

It would be great to offer an option to show the errors/warnings using new virtual text feature (nvim_buf_set_virtual_text) as, for example, ALE does (see dense-analysis/ale#2056).

Thanks for the project!
A

@autozimu this'd be fantastic! presently the main reason i'm still using ALE for linting + formatting.

It would be awesome! Is there any news on this?

Neomake also offers this feature, in case further examples are helpful. However, “wrapping” is missing, I always have some splits open so often enough the message is truncated...
But one step after another.

Upping this! :)

Great! Now...how to configure it?

@autozimu this is GREAT!

wrapping (or maybe only 'sliding') the docstring would be awesome! (I'm aware that neovim does not (currently)? implement "reflow of virtual text")

What i mean by sliding?

Maybe it'd be a compromise to 'slide' the first displayed character backwards while typing / finishing an argument?
With splits open, and 1..3 arguments visible (depending on indetation level and docstring) it was possible to see the description of argument 3 onwards?

@DerWeh Manually detecting how much of the string is shown & displaying that on the following line(s) might hardly be usable? (changing position to look on any character typed / arg completed)