summaryrefslogtreecommitdiff
path: root/src/lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lsp')
-rw-r--r--src/lsp/lsp_client.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lsp/lsp_client.zig b/src/lsp/lsp_client.zig
index e685aa7d..94d5bded 100644
--- a/src/lsp/lsp_client.zig
+++ b/src/lsp/lsp_client.zig
@@ -392,8 +392,7 @@ fn record(si: usize, req: lsp.Req, us: u64, rows: usize, err: []const u8) void {
}
fn hideTime() bool {
- const v = libc.getenv("PARDES_NOTIME") orelse return false;
- return std.mem.span(v).len != 0;
+ return @import("../Messages.zig").Message.noTime();
}
/// `SPC l w` narration, threaded through the real path, so it cannot