Fix remote server (ssh) crash when editing json (#33818)

Closes #33807

Release Notes:

- (Preview Only) Fixes a remote server (ssh) crash when editing json
files

---------

Co-authored-by: Cole <cole@zed.dev>
32d058d95eMichael Sloan committed on 7/3/2025, 12:21:39 AM· committed by GitHubparent77c4530
3 files changedLine totals unavailable