aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 16a0f6f6..cab7ad63 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -2,8 +2,7 @@ use clap::ArgMatches as Args;
use helix_view::{document::Mode, Document, Editor, Theme, View};
-use crate::compositor::Compositor;
-use crate::ui;
+use crate::{compositor::Compositor, ui};
use log::{error, info};
@@ -139,9 +138,8 @@ impl Application {
.diagnostics
.into_iter()
.map(|diagnostic| {
- use helix_core::diagnostic::Severity::*;
use helix_core::{
- diagnostic::{Range, Severity},
+ diagnostic::{Range, Severity, Severity::*},
Diagnostic,
};
use helix_lsp::{lsp, util::lsp_pos_to_pos};