diff --git a/src/references.zig b/src/references.zig index 3da4e88..e04df2f 100644 --- a/src/references.zig +++ b/src/references.zig @@ -497,6 +497,8 @@ pub fn symbolReferences( for (dependencies.keys()) |uri| { const handle = store.getHandle(uri) orelse continue; + if (std.mem.eql(u8, handle.uri, curr_handle.uri)) continue; + try symbolReferencesInternal(&builder, 0, handle, true); } },