2016-03-16 14:39:53 +00:00
|
|
|
extern crate gtk;
|
2016-03-28 14:14:10 +00:00
|
|
|
extern crate glib;
|
2016-03-16 14:39:53 +00:00
|
|
|
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-25 14:36:51 +00:00
|
|
|
mod ui_mutex;
|
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-16 14:39:53 +00:00
|
|
|
|
2016-03-16 15:25:25 +00:00
|
|
|
fn main() {
|
2016-03-23 11:59:18 +00:00
|
|
|
let ui = Ui::new();
|
|
|
|
ui.show();
|
2016-03-23 15:22:28 +00:00
|
|
|
|
2016-03-28 10:09:31 +00:00
|
|
|
let nvim = nvim::initialize(ui).expect("Can't start nvim instance");
|
2016-03-23 15:22:28 +00:00
|
|
|
|
|
|
|
gtk::main();
|
2016-03-16 14:39:53 +00:00
|
|
|
}
|
|
|
|
|