lsp: Add basic test for server tree toolchain use (#36692)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-08-21 17:52:17 +02:00 committed by GitHub
parent 4bee06e507
commit 132daef9f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 262 additions and 4 deletions

View file

@ -4643,7 +4643,6 @@ impl LspStore {
Some((file, language, raw_buffer.remote_id()))
})
.sorted_by_key(|(file, _, _)| Reverse(file.worktree.read(cx).is_visible()));
for (file, language, buffer_id) in buffers {
let worktree_id = file.worktree_id(cx);
let Some(worktree) = local
@ -4685,7 +4684,6 @@ impl LspStore {
cx,
)
.collect::<Vec<_>>();
for node in nodes {
let server_id = node.server_id_or_init(|disposition| {
let path = &disposition.path;