Allow trigger_offset to be unused for now
commit76b1bbc23ad5fc47765472cd9e83727a43c97ff3
authorBlaž Hrastnik <blaz@mxxn.io>
dateSun 10 Oct 2021, 12:33 (5 years ago)
parent633b981
helix-term/src/ui/completion.rs+1
@@ -70,6 +70,7 @@ impl menu::Item for CompletionItem {
7070pub struct Completion {
7171 popup: Popup<Menu<CompletionItem>>,
7272 start_offset: usize,
73+ #[allow(dead_code)]
7374 trigger_offset: usize,
7475 // TODO: maintain a completioncontext with trigger kind & trigger char
7576}