adapt to changed and updated lsp4e / lsp4j API

This commit is contained in:
Martin Lippert
2020-03-06 13:58:21 +01:00
parent 5654a67594
commit cf69abca5d

View File

@@ -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;