summaryrefslogtreecommitdiff
path: root/src/host_io.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:35:18 -0300
committerGabriel Schneider <[email protected]>2026-11-04 23:39:25 -0300
commit63e6ceefc7ab33e31c9d4f83387183e44089e443 (patch)
tree62a63e4924643680849e4bca46030d536dfa26bb /src/host_io.zig
parent383256a741117596931c4e3817491041fde5229d (diff)
downloadpardes-63e6ceefc7ab33e31c9d4f83387183e44089e443.tar.gz
pardes-63e6ceefc7ab33e31c9d4f83387183e44089e443.zip
lsp_client: try in place of 25 catch return error.OutOfMemory into an Err that already holds it, and of app(), which did the same; offsetAt, which only its test called, goes (the test checks posOf against strictOffset); query's gpa and status's req, never read, go, host_io's call and lspbench's two dropping the argument; the notes of the gone ZLS backend go, and renameEdits gets back its doc from above identAt
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/host_io.zig')
-rw-r--r--src/host_io.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host_io.zig b/src/host_io.zig
index 5cdf6e0d..8db03f95 100644
--- a/src/host_io.zig
+++ b/src/host_io.zig
@@ -638,7 +638,7 @@ pub const Lsp = struct {
defer pardes.memory.giveLspQuery(arena.end_index);
var out: std.Io.Writer.Allocating = .init(gpa);
defer out.deinit();
- pardes.lsp.query(io, gpa, arena.allocator(), .{
+ pardes.lsp.query(io, arena.allocator(), .{
.kind = job.kind,
.path = job.path,
.source = job.source,