Allow trigger_offset to be unused for now

This commit is contained in:
Blaž Hrastnik 2021-10-10 12:33:22 +09:00
parent 633b981db2
commit 76b1bbc23a

View File

@ -70,6 +70,7 @@ fn row(&self) -> menu::Row {
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
}