Disable label references until #728 is resolved

This commit is contained in:
nullptrdevs 2022-11-22 02:08:43 -08:00 committed by GitHub
parent ea2caee3ad
commit 4794f1e8d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2241,7 +2241,9 @@ fn generalReferencesHandler(server: *Server, writer: anytype, id: types.RequestI
}; };
const locations = if (pos_context == .label) const locations = if (pos_context == .label)
try references.labelReferences(allocator, decl, server.offset_encoding, include_decl) // FIXME https://github.com/zigtools/zls/issues/728
// try references.labelReferences(allocator, decl, server.offset_encoding, include_decl)
std.ArrayListUnmanaged(types.Location){}
else else
try references.symbolReferences( try references.symbolReferences(
&server.arena, &server.arena,