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:
parent
5b61b8c8ed
commit
e070c81687
1 changed files with 3 additions and 0 deletions
|
@ -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() = ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue