diff --git a/src/document_store.zig b/src/document_store.zig index 253d792..a8d87ec 100644 --- a/src/document_store.zig +++ b/src/document_store.zig @@ -422,6 +422,7 @@ fn refreshDocument(self: *DocumentStore, handle: *Handle) !void { still_exists: { for (new_imports) |new| { if (std.mem.eql(u8, new, old)) { + handle.imports_used.items[i] = new; break :still_exists; } }