mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-14 23:12:49 +03:00
Nit: improve LSP mouse hover merging with linter errors (commented in SpartanJ/ecode#620).
This commit is contained in:
@@ -1824,7 +1824,7 @@ void LSPClientPlugin::onDocumentHoverResponse( UICodeEditor* editor, const LSPHo
|
||||
if ( errResp.isResponse() ) {
|
||||
LSPHover cresp( resp );
|
||||
cresp.contents[0].value = errResp.getResponse().data["text"].get<std::string>() +
|
||||
"\n\n" + cresp.contents[0].value;
|
||||
"\n---\n\n" + cresp.contents[0].value;
|
||||
displayTooltipFn( editor, cresp, getFinalPosFn( editor ) );
|
||||
} else {
|
||||
displayTooltipFn( editor, resp, pos );
|
||||
|
||||
Reference in New Issue
Block a user