Add filename autocomplete to template args

imgbot
Dmitry Sharshakov 3 years ago
parent e315394631
commit ef155e62ef
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

@ -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| {

Loading…
Cancel
Save