Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | helix-lsp/src/transport.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-lsp/src/transport.rs b/helix-lsp/src/transport.rs index 465130fa..088c617b 100644 --- a/helix-lsp/src/transport.rs +++ b/helix-lsp/src/transport.rs @@ -136,6 +136,8 @@ impl Transport { // try parsing as output (server response) or call (server request) let output: serde_json::Result<ServerMessage> = serde_json::from_str(msg); + content.clear(); + Ok(output?) } |