From 76b1bbc23ad5fc47765472cd9e83727a43c97ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Sun, 10 Oct 2021 12:33:22 +0900 Subject: [PATCH] Allow trigger_offset to be unused for now --- helix-term/src/ui/completion.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs index 72b032741..ba009c505 100644 --- a/helix-term/src/ui/completion.rs +++ b/helix-term/src/ui/completion.rs @@ -70,6 +70,7 @@ fn row(&self) -> menu::Row { pub struct Completion { popup: Popup>, start_offset: usize, + #[allow(dead_code)] trigger_offset: usize, // TODO: maintain a completioncontext with trigger kind & trigger char }