diff --git a/nvim-core/src/lib.rs b/nvim-core/src/lib.rs index 17189a1..614602c 100644 --- a/nvim-core/src/lib.rs +++ b/nvim-core/src/lib.rs @@ -254,6 +254,7 @@ async fn get_nvim_connection() -> Result, String> { } _ => false, } => + { match read_half.read_buf(&mut resp_buf).await { Ok(n) if n > 0 => {} _ => { diff --git a/server/src/main.rs b/server/src/main.rs index 9e3d473..df94b92 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -134,7 +134,7 @@ async fn run_server(state: Arc) -> Result<(), Box