Remove remaining plugin-related language server adapters (#34334)

Follow-up of https://github.com/zed-industries/zed/pull/34208

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-07-12 14:42:14 +03:00 committed by GitHub
parent 5b61b8c8ed
commit e070c81687
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -334,6 +334,9 @@ impl LanguageRegistry {
if let Some(adapters) = state.lsp_adapters.get_mut(language_name) {
adapters.retain(|adapter| &adapter.name != name)
}
state.all_lsp_adapters.remove(name);
state.available_lsp_adapters.remove(name);
state.version += 1;
state.reload_count += 1;
*state.subscription.0.borrow_mut() = ();