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

imgbot
Blaž Hrastnik 3 years ago
parent 066367c0a4
commit 1540b37f34

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

Loading…
Cancel
Save