mirror of https://github.com/helix-editor/helix
Add filename completer for shell prompt (#7569)
parent
618620b369
commit
507dd50860
|
@ -5401,7 +5401,7 @@ fn shell_prompt(cx: &mut Context, prompt: Cow<'static, str>, behavior: ShellBeha
|
||||||
cx,
|
cx,
|
||||||
prompt,
|
prompt,
|
||||||
Some('|'),
|
Some('|'),
|
||||||
ui::completers::none,
|
ui::completers::filename,
|
||||||
move |cx, input: &str, event: PromptEvent| {
|
move |cx, input: &str, event: PromptEvent| {
|
||||||
if event != PromptEvent::Validate {
|
if event != PromptEvent::Validate {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue