summaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
authorIvan Tham2021-10-29 03:00:18 +0000
committerGitHub2021-10-29 03:00:18 +0000
commit49f6c2623fbda5ff4be86e5e7d773bf900d9c75c (patch)
tree68e7a96a0693005f8ec27dff8e9faa5b5fd178f9 /helix-term/src/application.rs
parentcec0cfdaecdb9b3e7fdf3ae3bb3252ba3f2f2752 (diff)
Bump lsp-types to 0.91.0 (#932)
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 55b12c5a..6037148f 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -389,10 +389,11 @@ impl Application {
message: diagnostic.message,
severity: diagnostic.severity.map(
|severity| match severity {
- DiagnosticSeverity::Error => Error,
- DiagnosticSeverity::Warning => Warning,
- DiagnosticSeverity::Information => Info,
- DiagnosticSeverity::Hint => Hint,
+ DiagnosticSeverity::ERROR => Error,
+ DiagnosticSeverity::WARNING => Warning,
+ DiagnosticSeverity::INFORMATION => Info,
+ DiagnosticSeverity::HINT => Hint,
+ severity => unimplemented!("{:?}", severity),
},
),
// code