drain_lsp_stderr

Function drain_lsp_stderr 

Source
async fn drain_lsp_stderr(stderr: ChildStderr, server_id: String)
Expand description

Drain the server’s stderr line-by-line, logging each line via tracing. Without this the OS pipe buffer fills up on chatty servers (rust-analyzer during indexing, tsserver on startup errors) and the server’s own writes block, which can stall stdin/stdout handling.