aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-28 12:36:16 +0000
committerDmitry Sharshakov2021-08-28 12:36:16 +0000
commitef155e62ef411425c027a81c44cc76b5258ad48f (patch)
tree7b32ec616d13d7718a63e4806ed7afb4e8cf87f1 /helix-term
parente3153946311b189bd5e10e816acbdda508ded31c (diff)
Add filename autocomplete to template args
Diffstat (limited to 'helix-term')
-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| {