diff options
author | Blaž Hrastnik | 2021-05-09 08:13:59 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-05-09 08:13:59 +0000 |
commit | 6c705f09e88a4b63c4ed854bc9e956b0539ca8af (patch) | |
tree | f625eb633273c277cff7c0f0328df4edc1b1d834 /helix-lsp | |
parent | dbe870e4eca6012455d3601d283425043f59e2e7 (diff) |
Lint
Diffstat (limited to 'helix-lsp')
-rw-r--r-- | helix-lsp/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs index 1bab2a17..1dbd6529 100644 --- a/helix-lsp/src/lib.rs +++ b/helix-lsp/src/lib.rs @@ -140,20 +140,20 @@ impl Notification { .expect("Failed to parse PublishDiagnostics params"); // TODO: need to loop over diagnostics and distinguish them by URI - Notification::PublishDiagnostics(params) + Self::PublishDiagnostics(params) } lsp::notification::ShowMessage::METHOD => { let params: lsp::ShowMessageParams = params.parse().expect("Failed to parse ShowMessage params"); - Notification::ShowMessage(params) + Self::ShowMessage(params) } lsp::notification::LogMessage::METHOD => { let params: lsp::LogMessageParams = params.parse().expect("Failed to parse ShowMessage params"); - Notification::LogMessage(params) + Self::LogMessage(params) } _ => { log::error!("unhandled LSP notification: {}", method); |