When using eldoc with lsp-mode, there are some irritations with the default output.
Various characters are backslash escaped, so:
/* This: isn't so -> "good", you see. */
Displays as:
This\: isn\'t so -\> \"good\"\, you see.
Blank lines are included so:
/**
* This is a comment.
*/
Displays as:
This is a comment.
Has a blank lines above and below it.
Is there a convenient way to show eldoc as plain-text with blank lines stripped from the start & end, or does this require writing my own eldoc-message-function
?
Note while formatting for doxygen would be nice too, plain un-escaped text is fine.