Fix panic when opening settings in zed2 (#3375)

This PR fixes a panic that occurs when opening the settings in zed2.

We store the `ThemeRegistry` as a global without wrapping it in an
`Arc`, so we need to retrieve it the same way.

Release Notes:

- N/A
6cd0bcc578Marshall Bowers committed on 11/21/2023, 3:58:52 PM· committed by GitHubparent79c890f
1 file changedLine totals unavailable