diff --git a/src/plugins/languageclient/languageclienthoverhandler.cpp b/src/plugins/languageclient/languageclienthoverhandler.cpp index b0ff1c28644..e95760b8b27 100644 --- a/src/plugins/languageclient/languageclienthoverhandler.cpp +++ b/src/plugins/languageclient/languageclienthoverhandler.cpp @@ -59,9 +59,7 @@ void HoverHandler::identifyMatch(TextEditor::TextEditorWidget *editorWidget, { if (m_currentRequest.has_value()) abort(); - if (m_client.isNull() - || !m_client->documentOpen(editorWidget->textDocument()) - || !m_client->capabilities().hoverProvider().value_or(false)) { + if (m_client.isNull() || !m_client->documentOpen(editorWidget->textDocument())) { report(Priority_None); return; }