XeF₂ has 2 bonding pairs and 3 lone pairs around the central Xe atom, leading to a linear shape due to the repulsion of lone pairs.