adapt to changed and updated lsp4e / lsp4j API
This commit is contained in:
@@ -234,7 +234,7 @@ public class LSPTextHover implements ITextHover, ITextHoverExtension {
|
||||
.map(languageServer -> {
|
||||
try {
|
||||
return languageServer.getTextDocumentService()
|
||||
.hover(LSPEclipseUtils.toTextDocumentPosistionParams(offset, document)).get();
|
||||
.hover(LSPEclipseUtils.toHoverParams(offset, document)).get();
|
||||
} catch (ExecutionException | BadLocationException e) {
|
||||
LanguageServerPlugin.logError(e);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user