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.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/helix-core/src/completion.rs b/helix-core/src/completion.rs new file mode 100644 index 00000000..0bd111eb --- /dev/null +++ b/helix-core/src/completion.rs @@ -0,0 +1,12 @@ +use std::borrow::Cow; + +use crate::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: String, +} |