Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information