diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs index af510ed59..28c8651a2 100644 --- a/helix-term/src/compositor.rs +++ b/helix-term/src/compositor.rs @@ -15,7 +15,6 @@ pub enum EventResult { Consumed(Option), } -use crate::commands; use crate::job::Jobs; use crate::ui::picker; use helix_view::Editor; diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index a0cf06a3a..93da51ce6 100644 --- a/helix-term/src/ui/mod.rs +++ b/helix-term/src/ui/mod.rs @@ -16,7 +16,7 @@ mod text_decorations; use crate::compositor::{Compositor, Context}; use crate::job::{self, Callback}; -use crate::{alt, ctrl, declare_key_handlers, filter_picker_entry}; +use crate::{alt, declare_key_handlers, filter_picker_entry}; pub use completion::Completion; pub use editor::EditorView; use helix_core::hashmap; @@ -33,13 +33,10 @@ pub use text::Text; use helix_view::Editor; use tui::text::Span; -use std::collections::HashMap; use std::fs; -use std::path::{Path, MAIN_SEPARATOR}; +use std::path::Path; use std::{error::Error, path::PathBuf}; -use self::picker::PickerKeyHandler; - struct Utf8PathBuf { path: String, is_dir: bool,