lsp: Silence window/logMessage if -v isn't used

This commit is contained in:
Blaž Hrastnik 2021-09-10 18:24:34 +09:00
parent 066367c0a4
commit 1540b37f34

View file

@ -373,7 +373,7 @@ impl Application {
log::warn!("unhandled window/showMessage: {:?}", params);
}
Notification::LogMessage(params) => {
log::warn!("unhandled window/logMessage: {:?}", params);
log::info!("window/logMessage: {:?}", params);
}
Notification::ProgressMessage(params) => {
let lsp::ProgressParams { token, value } = params;