|
|
|
@ -577,7 +577,7 @@ void LanguageProtocol::Client::handle_server_notification(const std::string &met |
|
|
|
else if(method == "window/logMessage") { |
|
|
|
else if(method == "window/logMessage") { |
|
|
|
if(language_id == "python" && !pyright) { |
|
|
|
if(language_id == "python" && !pyright) { |
|
|
|
if(auto message = params.string_optional("message")) { |
|
|
|
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; |
|
|
|
pyright = true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|