Remove duplicated code for unchanged parts of different extension API versions (#10218)

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
4bdfc12b79Max Brunsfeld committed on 4/8/2024, 2:16:12 PM· committed by GitHubparent4ce5b22
15 files changedLine totals unavailable