mirror of https://github.com/helix-editor/helix
Add filename autocomplete to template args
parent
e315394631
commit
ef155e62ef
|
@ -736,7 +736,7 @@ impl EditorView {
|
||||||
let prompt = Prompt::new(
|
let prompt = Prompt::new(
|
||||||
"arg:".to_owned(),
|
"arg:".to_owned(),
|
||||||
None,
|
None,
|
||||||
|_input: &str| Vec::new(), // this is fine because Vec::new() doesn't allocate
|
super::completers::filename,
|
||||||
move |cx: &mut crate::compositor::Context,
|
move |cx: &mut crate::compositor::Context,
|
||||||
input: &str,
|
input: &str,
|
||||||
event: PromptEvent| {
|
event: PromptEvent| {
|
||||||
|
|
Loading…
Reference in New Issue