aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/editor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 6428870e..fc7f32cc 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -736,7 +736,7 @@ impl EditorView {
let prompt = Prompt::new(
"arg:".to_owned(),
None,
- |_input: &str| Vec::new(), // this is fine because Vec::new() doesn't allocate
+ super::completers::filename,
move |cx: &mut crate::compositor::Context,
input: &str,
event: PromptEvent| {