You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-term/src/main.rs

26 lines
401 B
Rust

// mod editor;
mod component;
5 years ago
// use editor::Editor;
5 years ago
use argh::FromArgs;
use std::{env, path::PathBuf};
5 years ago
use anyhow::Error;
5 years ago
#[derive(FromArgs)]
/// A post-modern text editor.
pub struct Args {
#[argh(positional)]
files: Vec<PathBuf>,
5 years ago
}
fn main() -> Result<(), Error> {
let args: Args = argh::from_env();
// let mut editor = Editor::new(args)?;
5 years ago
// editor.run()?;
5 years ago
Ok(())
}