aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-02-17 04:56:01 +0000
committerBlaž Hrastnik2022-02-17 05:02:42 +0000
commit24f90ba8d8f4a10fb18f71b05c278fe89b71a261 (patch)
treee930c0634c4b2035889bfa32a0a009d23c45baf4 /helix-term/src/commands.rs
parentaf21e2a5b491a18b22de7c99d96536bdaf741056 (diff)
Manually recalculate initial completion where it matters
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 9cf5630d..c07f44dc 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -3393,6 +3393,8 @@ fn command_mode(cx: &mut Context) {
None
});
+ // Calculate initial completion
+ prompt.recalculate_completion(cx.editor);
cx.push_layer(Box::new(prompt));
}