aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/main.rs')
-rw-r--r--helix-term/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs
index 1e90d4a2..6e5ec5ff 100644
--- a/helix-term/src/main.rs
+++ b/helix-term/src/main.rs
@@ -22,7 +22,8 @@ fn main() -> Result<(), Error> {
let args: Args = argh::from_env();
println!("{:?}", args.files);
- editor::Editor::run()?;
+ let mut editor = editor::Editor::new(args)?;
+ editor.run();
Ok(())
}