diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 54fb91e00..eecbcddb6 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -215,6 +215,8 @@ fn open(cx: &mut compositor::Context, args: &[Cow], event: PromptEvent) -> } if to_open.is_empty() { + // Nothing found to open after globbing. + // Open a new file. open_file(cx, &path, pos)?; continue; }