Allow trigger_offset to be unused for now

pull/821/head
Blaž Hrastnik 2021-10-10 12:33:22 +09:00
parent 633b981db2
commit 76b1bbc23a
1 changed files with 1 additions and 0 deletions

View File

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