Allow trigger_offset to be unused for now

pull/821/head
Blaž Hrastnik 3 years ago
parent 633b981db2
commit 76b1bbc23a

@ -70,6 +70,7 @@ impl menu::Item for CompletionItem {
pub struct Completion {
popup: Popup<Menu<CompletionItem>>,
start_offset: usize,
#[allow(dead_code)]
trigger_offset: usize,
// TODO: maintain a completioncontext with trigger kind & trigger char
}

Loading…
Cancel
Save