Function nvim_rs::create::tokio::new_path

source ·
pub async fn new_path<H, P: AsRef<Path> + Clone>(
    path: P,
    handler: H
) -> Result<(Neovim<Compat<WriteHalf<Connection>>>, JoinHandle<Result<(), Box<LoopError>>>)>
where H: Handler<Writer = Compat<WriteHalf<Connection>>> + Send + 'static,
Available on crate feature use_tokio only.
Expand description

Connect to a neovim instance via unix socket (Unix) or named pipe (Windows)