From 4794f1e8d93dcdb17ce065f7d25da6bab3b18edf Mon Sep 17 00:00:00 2001 From: nullptrdevs <16590917+nullptrdevs@users.noreply.github.com> Date: Tue, 22 Nov 2022 02:08:43 -0800 Subject: [PATCH] Disable label references until #728 is resolved --- src/Server.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Server.zig b/src/Server.zig index 3a439ce..c624f28 100644 --- a/src/Server.zig +++ b/src/Server.zig @@ -2241,7 +2241,9 @@ fn generalReferencesHandler(server: *Server, writer: anytype, id: types.RequestI }; 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 try references.symbolReferences( &server.arena,