Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 499732f0..1da2a700 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -157,7 +157,7 @@ impl Application {
// If the first file is a directory, skip it and open a picker
if let Some((first, _)) = files_it.next_if(|(p, _)| p.is_dir()) {
- let picker = ui::file_picker(first, &config.load().editor);
+ let picker = ui::file_picker(&editor, first);
compositor.push(Box::new(overlaid(picker)));
}