aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-10-10 03:33:22 +0000
committerBlaž Hrastnik2021-10-10 03:33:22 +0000
commit76b1bbc23ad5fc47765472cd9e83727a43c97ff3 (patch)
treea8c36fce9784799622b203c5890fbf2e0190cab4
parent633b981db22bb30c601b838eaaeb814a64156125 (diff)
Allow trigger_offset to be unused for now
-rw-r--r--helix-term/src/ui/completion.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs
index 72b03274..ba009c50 100644
--- a/helix-term/src/ui/completion.rs
+++ b/helix-term/src/ui/completion.rs
@@ -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
}