neovim-gtk/src/main.rs

18 lines
247 B
Rust
Raw Normal View History

2016-03-16 14:39:53 +00:00
extern crate gtk;
extern crate cairo;
2016-03-19 10:27:39 +00:00
extern crate neovim_lib;
extern crate rmp;
2016-03-16 14:39:53 +00:00
2016-03-19 10:27:39 +00:00
mod nvim;
2016-03-19 08:47:23 +00:00
mod ui_model;
2016-03-16 15:25:25 +00:00
mod ui;
2016-03-16 14:39:53 +00:00
2016-03-16 15:25:25 +00:00
use ui::Ui;
2016-03-19 10:27:39 +00:00
use nvim::Nvim;
2016-03-16 14:39:53 +00:00
2016-03-16 15:25:25 +00:00
fn main() {
2016-03-19 10:27:39 +00:00
let nvim = Nvim::start().expect("Can't start nvim instance");
Ui::new().show();
2016-03-16 14:39:53 +00:00
}