Unnamed repository; edit this file 'description' to name the repository.
remove redundant imports (#10154)
Tshepang Mbambo 2024-04-04
parent 1539312 · commit 3e2b85c
-rw-r--r--helix-dap/src/client.rs2
-rw-r--r--helix-lsp/src/client.rs2
-rw-r--r--helix-term/src/commands/typed.rs4
-rw-r--r--helix-view/src/clipboard.rs4
4 files changed, 6 insertions, 6 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index 18af13ae..2f5b3d0f 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -2,7 +2,7 @@ use crate::{
requests::DisconnectArguments,
transport::{Payload, Request, Response, Transport},
types::*,
- Error, Result, ThreadId,
+ Error, Result,
};
use helix_core::syntax::DebuggerQuirks;
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index a7b3989d..b2290e03 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -6,7 +6,7 @@ use crate::{
};
use helix_core::{find_workspace, syntax::LanguageServerFeature, ChangeSet, Rope};
-use helix_loader::{self, VERSION_AND_GIT_HASH};
+use helix_loader::VERSION_AND_GIT_HASH;
use helix_stdx::path;
use lsp::{
notification::DidChangeWorkspaceFolders, CodeActionCapabilityResolveSupport,
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index 0dfcdb6e..5d7057da 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -7,9 +7,9 @@ use super::*;
use helix_core::fuzzy::fuzzy_match;
use helix_core::indent::MAX_INDENT;
-use helix_core::{encoding, line_ending, shellwords::Shellwords};
+use helix_core::{line_ending, shellwords::Shellwords};
use helix_view::document::DEFAULT_LANGUAGE_NAME;
-use helix_view::editor::{Action, CloseError, ConfigEvent};
+use helix_view::editor::{CloseError, ConfigEvent};
use serde_json::Value;
use ui::completers::{self, Completer};
diff --git a/helix-view/src/clipboard.rs b/helix-view/src/clipboard.rs
index 9ff2fd78..8dd7ebb1 100644
--- a/helix-view/src/clipboard.rs
+++ b/helix-view/src/clipboard.rs
@@ -156,7 +156,7 @@ pub mod provider {
#[cfg(feature = "term")]
mod osc52 {
- use {super::ClipboardType, crate::base64, crossterm};
+ use {super::ClipboardType, crate::base64};
#[derive(Debug)]
pub struct SetClipboardCommand {
@@ -255,7 +255,7 @@ pub mod provider {
#[cfg(not(target_arch = "wasm32"))]
pub mod command {
use super::*;
- use anyhow::{bail, Context as _, Result};
+ use anyhow::{bail, Context as _};
#[cfg(not(any(windows, target_os = "macos")))]
pub fn is_exit_success(program: &str, args: &[&str]) -> bool {