SIGN IN SIGN UP

lsp: Fix buffer snapshots sometimes going missing (#25548)

A call to register_buffer_with_language_servers could nuke existing
snapshots, even when the buffer was already registered with a server.

Essentially, had we had the else branch in place, this would have been
detected.

Closes #ISSUE

Release Notes:

- Fixed Rust analyzer renames sometimes failing. (Preview only)
P
Piotr Osiewicz committed
86283f4e3d9d291e8a440eecaacd42d62e8ae4cd
Parent: 8e1003e
Committed by GitHub <noreply@github.com> on 2/25/2025, 9:39:09 AM