aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/main.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-06-16 09:00:34 +0000
committerBlaž Hrastnik2020-06-16 09:00:34 +0000
commit8119f1ec3d690489869ab31c086c1f239b204d03 (patch)
tree3efe80547d10e6a1e407f291752fdd13380f751f /helix-term/src/main.rs
parent065cbcee9e63703e5ffb3a2c044ed0b49a2b7fff (diff)
Refactor editor module to use state + keymap.
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(())
}