diff options
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/application.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index b3ddbe15..8849ee81 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -152,6 +152,7 @@ impl Application { match call { Call::Notification(helix_lsp::jsonrpc::Notification { method, params, .. }) => { let notification = Notification::parse(&method, params); + // TODO: parse should return Result/Option match notification { Notification::PublishDiagnostics(params) => { let path = Some(params.uri.to_file_path().unwrap()); @@ -213,6 +214,12 @@ impl Application { self.render(); } } + Notification::ShowMessage(params) => { + log::warn!("unhandled window/showMessage: {:?}", params); + } + Notification::LogMessage(params) => { + log::warn!("unhandled window/logMessage: {:?}", params); + } _ => unreachable!(), } } |