fix: avoid finding references in the current file twice (#846)
This commit is contained in:
parent
c355a54dd1
commit
44b6c4dae4
@ -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);
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user