Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

lsp-log: Avoid trimming leading space in language server logs (#33418)

David Barsky1af9f98c1d58
diff --git a/crates/language_tools/src/lsp_log.rs b/crates/language_tools/src/lsp_log.rs
index de474c1d9f3..a3827218c3b 100644
--- a/crates/language_tools/src/lsp_log.rs
+++ b/crates/language_tools/src/lsp_log.rs
@@ -430,7 +430,7 @@ impl LogStore {
log_lines,
id,
LogMessage {
- message: message.trim().to_string(),
+ message: message.trim_end().to_string(),
typ,
},
language_server_state.log_level,