From ef155e62ef411425c027a81c44cc76b5258ad48f Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sat, 28 Aug 2021 15:36:16 +0300 Subject: Add filename autocomplete to template args --- helix-term/src/ui/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/ui') 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| { -- cgit v1.2.3-70-g09d2