diff --git a/src/source_language_protocol.cpp b/src/source_language_protocol.cpp index d1802fe..785f3fc 100644 --- a/src/source_language_protocol.cpp +++ b/src/source_language_protocol.cpp @@ -577,7 +577,7 @@ void LanguageProtocol::Client::handle_server_notification(const std::string &met else if(method == "window/logMessage") { if(language_id == "python" && !pyright) { if(auto message = params.string_optional("message")) { - if(starts_with(*message, "Pyright language server")) + if(starts_with(*message, "Pyright language server") || starts_with(*message, "basedpyright language server")) pyright = true; } }