Gvim - YCM - show errors in balloons

721 views Asked by At

I was wondering if there is a way to show code errors in balloons like Syntastic when mouse hover on it.

1

There are 1 answers

2
Michael Foukarakis On

Yes, there is a way, the one Syntastic is using already: "Balloon Evaluation" (read :h balloon-eval). You can basically set a balloonexpr which defines the text to show in the balloon. If you want to show the balloons by only hovering the mouse regardless of where the cursor is, that is not supported by VIM at the moment. To be honest, that sounds like a very useful idea for a popup menu on right-click (see :h mousemodel).