Disable label references until #728 is resolved
This commit is contained in:
		
							parent
							
								
									ea2caee3ad
								
							
						
					
					
						commit
						4794f1e8d9
					
				@ -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,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user