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