Trait neovim_lib::neovim_api::NeovimApi [] [src]

pub trait NeovimApi {
    fn set_var(&mut self, name: &str, value: Value) -> Result<Value, CallError>;
    fn del_var(&mut self, name: &str) -> Result<Value, CallError>;
    fn command(&mut self, command: &str) -> Result<(), CallError>;
    fn feedkeys(&mut self,
                keys: &str,
                mode: &str,
                escape_csi: bool)
                -> Result<(), CallError>; fn input(&mut self, keys: &str) -> Result<u64, CallError>; fn replace_termcodes(&mut self,
                         str: &str,
                         from_part: bool,
                         do_lt: bool,
                         special: bool)
                         -> Result<String, CallError>; fn command_output(&mut self, str: &str) -> Result<String, CallError>; fn eval(&mut self, expr: &str) -> Result<Value, CallError>; fn call_function(&mut self,
                     fname: &str,
                     args: Vec<Value>)
                     -> Result<Value, CallError>; fn strwidth(&mut self, str: &str) -> Result<u64, CallError>; fn list_runtime_paths(&mut self) -> Result<Vec<String>, CallError>; fn change_directory(&mut self, dir: &str) -> Result<(), CallError>; fn get_current_line(&mut self) -> Result<String, CallError>; fn set_current_line(&mut self, line: &str) -> Result<(), CallError>; fn del_current_line(&mut self) -> Result<(), CallError>; fn get_var(&mut self, name: &str) -> Result<Value, CallError>; fn get_vvar(&mut self, name: &str) -> Result<Value, CallError>; fn get_option(&mut self, name: &str) -> Result<Value, CallError>; fn set_option(&mut self, name: &str, value: Value) -> Result<(), CallError>; fn out_write(&mut self, str: &str) -> Result<(), CallError>; fn err_write(&mut self, str: &str) -> Result<(), CallError>; fn report_error(&mut self, str: &str) -> Result<(), CallError>; fn get_buffers(&mut self) -> Result<Vec<Buffer>, CallError>; fn get_current_buffer(&mut self) -> Result<Buffer, CallError>; fn set_current_buffer(&mut self, buffer: &Buffer) -> Result<(), CallError>; fn get_windows(&mut self) -> Result<Vec<Window>, CallError>; fn get_current_window(&mut self) -> Result<Window, CallError>; fn set_current_window(&mut self, window: &Window) -> Result<(), CallError>; fn get_tabpages(&mut self) -> Result<Vec<Tabpage>, CallError>; fn get_current_tabpage(&mut self) -> Result<Tabpage, CallError>; fn set_current_tabpage(&mut self,
                           tabpage: &Tabpage)
                           -> Result<(), CallError>; fn subscribe(&mut self, event: &str) -> Result<(), CallError>; fn unsubscribe(&mut self, event: &str) -> Result<(), CallError>; fn name_to_color(&mut self, name: &str) -> Result<u64, CallError>; fn get_color_map(&mut self) -> Result<Vec<(Value, Value)>, CallError>; fn get_api_info(&mut self) -> Result<Vec<Value>, CallError>; }

Required Methods

Implementors