pub trait NeovimApi {
Show 56 methods fn ui_detach(&mut self) -> Result<(), CallError>; fn ui_try_resize(&mut self, width: i64, height: i64) -> Result<(), CallError>; fn ui_set_option(&mut self, name: &str, value: Value) -> Result<(), CallError>; fn command(&mut self, command: &str) -> Result<(), CallError>; fn get_hl_by_name(
        &mut self,
        name: &str,
        rgb: bool
    ) -> Result<Vec<(Value, Value)>, CallError>; fn get_hl_by_id(
        &mut self,
        hl_id: i64,
        rgb: bool
    ) -> Result<Vec<(Value, Value)>, CallError>; fn feedkeys(
        &mut self,
        keys: &str,
        mode: &str,
        escape_csi: bool
    ) -> Result<(), CallError>; fn input(&mut self, keys: &str) -> Result<i64, CallError>; fn replace_termcodes(
        &mut self,
        str: &str,
        from_part: bool,
        do_lt: bool,
        special: bool
    ) -> Result<String, CallError>; fn command_output(&mut self, command: &str) -> Result<String, CallError>; fn eval(&mut self, expr: &str) -> Result<Value, CallError>; fn execute_lua(
        &mut self,
        code: &str,
        args: Vec<Value>
    ) -> Result<Value, CallError>; fn call_function(
        &mut self,
        fname: &str,
        args: Vec<Value>
    ) -> Result<Value, CallError>; fn call_dict_function(
        &mut self,
        dict: Value,
        fname: &str,
        args: Vec<Value>
    ) -> Result<Value, CallError>; fn strwidth(&mut self, text: &str) -> Result<i64, CallError>; fn list_runtime_paths(&mut self) -> Result<Vec<String>, CallError>; fn set_current_dir(&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 set_var(&mut self, name: &str, value: Value) -> Result<(), CallError>; fn del_var(&mut self, name: &str) -> Result<(), 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 err_writeln(&mut self, str: &str) -> Result<(), CallError>; fn list_bufs(&mut self) -> Result<Vec<Buffer>, CallError>; fn get_current_buf(&mut self) -> Result<Buffer, CallError>; fn set_current_buf(&mut self, buffer: &Buffer) -> Result<(), CallError>; fn list_wins(&mut self) -> Result<Vec<Window>, CallError>; fn get_current_win(&mut self) -> Result<Window, CallError>; fn set_current_win(&mut self, window: &Window) -> Result<(), CallError>; fn list_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 create_namespace(&mut self, name: &str) -> Result<i64, CallError>; fn get_namespaces(&mut self) -> Result<Vec<(Value, Value)>, CallError>; fn subscribe(&mut self, event: &str) -> Result<(), CallError>; fn unsubscribe(&mut self, event: &str) -> Result<(), CallError>; fn get_color_by_name(&mut self, name: &str) -> Result<i64, CallError>; fn get_color_map(&mut self) -> Result<Vec<(Value, Value)>, CallError>; fn get_mode(&mut self) -> Result<Vec<(Value, Value)>, CallError>; fn get_keymap(
        &mut self,
        mode: &str
    ) -> Result<Vec<Vec<(Value, Value)>>, CallError>; fn get_commands(
        &mut self,
        opts: Vec<(Value, Value)>
    ) -> Result<Vec<(Value, Value)>, CallError>; fn get_api_info(&mut self) -> Result<Vec<Value>, CallError>; fn set_client_info(
        &mut self,
        name: &str,
        version: Vec<(Value, Value)>,
        typ: &str,
        methods: Vec<(Value, Value)>,
        attributes: Vec<(Value, Value)>
    ) -> Result<(), CallError>; fn get_chan_info(
        &mut self,
        chan: i64
    ) -> Result<Vec<(Value, Value)>, CallError>; fn list_chans(&mut self) -> Result<Vec<Value>, CallError>; fn call_atomic(&mut self, calls: Vec<Value>) -> Result<Vec<Value>, CallError>; fn parse_expression(
        &mut self,
        expr: &str,
        flags: &str,
        highlight: bool
    ) -> Result<Vec<(Value, Value)>, CallError>; fn list_uis(&mut self) -> Result<Vec<Value>, CallError>; fn get_proc_children(&mut self, pid: i64) -> Result<Vec<Value>, CallError>; fn get_proc(&mut self, pid: i64) -> Result<Value, CallError>;
}

Required Methods

since: 1

since: 1

since: 1

since: 1

since: 3

since: 3

since: 1

since: 1

since: 1

since: 1

since: 1

since: 3

since: 1

since: 4

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 1

since: 5

since: 5

since: 1

since: 1

since: 1

since: 1

since: 2

since: 3

since: 4

since: 1

since: 4

since: 4

since: 4

since: 1

since: 4

since: 4

since: 4

since: 4

Implementors