Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-core/src/completion.rs')
-rw-r--r--helix-core/src/completion.rs26
1 files changed, 0 insertions, 26 deletions
diff --git a/helix-core/src/completion.rs b/helix-core/src/completion.rs
deleted file mode 100644
index 11b49cfc..00000000
--- a/helix-core/src/completion.rs
+++ /dev/null
@@ -1,26 +0,0 @@
-use std::borrow::Cow;
-
-use crate::{diagnostic::LanguageServerId, Transaction};
-
-#[derive(Debug, PartialEq, Clone)]
-pub struct CompletionItem {
- pub transaction: Transaction,
- pub label: Cow<'static, str>,
- pub kind: Cow<'static, str>,
- /// Containing Markdown
- pub documentation: Option<String>,
- pub provider: CompletionProvider,
-}
-
-#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
-pub enum CompletionProvider {
- Lsp(LanguageServerId),
- Path,
- Word,
-}
-
-impl From<LanguageServerId> for CompletionProvider {
- fn from(id: LanguageServerId) -> Self {
- CompletionProvider::Lsp(id)
- }
-}