edit prediction cli: Improve language server reliability (#44666)

We weren't waiting for ALL language servers of a buffer to start, only
the first one.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga
2025-12-11 22:30:51 +00:00
committed by GitHub
parent 1029a8fbaf
commit fc6ca38989
6 changed files with 93 additions and 112 deletions
+1 -1
View File
@@ -892,7 +892,7 @@ pub fn wait_for_lang_server(
.update(cx, |buffer, cx| {
lsp_store.update(cx, |lsp_store, cx| {
lsp_store
.language_servers_for_local_buffer(buffer, cx)
.running_language_servers_for_local_buffer(buffer, cx)
.next()
.is_some()
})