diff options
author | Dmitry Sharshakov | 2021-08-28 12:36:16 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-28 12:36:16 +0000 |
commit | ef155e62ef411425c027a81c44cc76b5258ad48f (patch) | |
tree | 7b32ec616d13d7718a63e4806ed7afb4e8cf87f1 /helix-term/src | |
parent | e3153946311b189bd5e10e816acbdda508ded31c (diff) |
Add filename autocomplete to template args
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/ui/editor.rs | 2 |
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| { |