Fix input '<' symbol (#6)

This commit is contained in:
daa 2017-12-03 17:33:34 +03:00
parent 4cf5028b4d
commit 2565b1e0fe

View File

@ -79,7 +79,9 @@ pub fn convert_key(ev: &EventKey) -> Option<String> {
pub fn im_input(nvim: &mut Neovim, input: &str) { pub fn im_input(nvim: &mut Neovim, input: &str) {
debug!("nvim_input -> {}", input); debug!("nvim_input -> {}", input);
nvim.input(input).expect("Error run input command to nvim");
let input = keyval_to_input_string(input, gdk::ModifierType::empty());
nvim.input(&input).expect("Error run input command to nvim");
} }
pub fn gtk_key_press(nvim: &mut Neovim, ev: &EventKey) -> Inhibit { pub fn gtk_key_press(nvim: &mut Neovim, ev: &EventKey) -> Inhibit {