Function open_term

Source
pub fn open_term(buffer: &Buffer, opts: &OpenTermOpts) -> Result<u32, Error>
Expand description

Binding to nvim_open_term().

Opens a terminal instance in a buffer. Returns the id of a channel that can be used to send data to the instance via nvim_oxi::api::chan_send.