Struct neovim_lib::neovim::Neovim
[−]
[src]
pub struct Neovim { pub session: Session, }
Fields
session: Session
Methods
impl Neovim
[src]
fn new(session: Session) -> Neovim
fn ui_attach(&mut self, width: u64, height: u64, rgb: bool) -> Result<(), String>
Register as a remote UI.
After this method is called, the client will receive redraw notifications.
fn ui_detach(&mut self) -> Result<(), String>
Unregister as a remote UI.
fn ui_try_resize(&mut self, width: u64, height: u64) -> Result<(), String>
Notify nvim that the client window has resized.
If possible, nvim will send a redraw request to resize.