You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Display the first line of MarkupContent in eldoc (#1607)
* Display the first line of MarkupContent in eldoc
Many LSP servers, like gopls, return `document/onHover` as
MarkupContent. This modifies the eldoc behavior to support MarkupContent
by displaying the first rendered line. As the majority of LSP servers
return the signature, this will display the signature as most people expect.
In the future,
microsoft/language-server-protocol#772
should make this more reliable.
* nit: use s-lines
0 commit comments