ssh remoting: Do not double-register LspAdapters (#18132)
This fixes the bug with hover tooltips appearing multiple times. Turns out everytime we receive the `CreateLanguageServer` message we'd add a new adapter but only have a single server running for all of them. And we send a `CreateLanguageServer` message everytime you open a buffer. What this does is to only add a new adapter if it hasn't already been registered, which is also what we do locally. Release Notes: - N/A
T
Thorsten Ball committed
90a12f55642410e38df65d7f8381d6ecb3d0c1c2
Parent: ca033e6
Committed by GitHub <noreply@github.com>
on 9/20/2024, 12:35:45 PM