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.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/helix-core/src/completion.rs b/helix-core/src/completion.rs
index 11b49cfc..c024f954 100644
--- a/helix-core/src/completion.rs
+++ b/helix-core/src/completion.rs
@@ -1,6 +1,7 @@
use std::borrow::Cow;
-use crate::{diagnostic::LanguageServerId, Transaction};
+use crate::diagnostic::LanguageServerId;
+use crate::Transaction;
#[derive(Debug, PartialEq, Clone)]
pub struct CompletionItem {
@@ -8,15 +9,14 @@ pub struct CompletionItem {
pub label: Cow<'static, str>,
pub kind: Cow<'static, str>,
/// Containing Markdown
- pub documentation: Option<String>,
+ pub documentation: String,
pub provider: CompletionProvider,
}
#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
pub enum CompletionProvider {
Lsp(LanguageServerId),
- Path,
- Word,
+ PathCompletions,
}
impl From<LanguageServerId> for CompletionProvider {