/// If this method is called, all documents that have a reference to language servers used by the language config have to refresh their language servers,
/// as it could be that language servers of these documents were stopped by this method.
/// See [helix_view::editor::Editor::refresh_language_servers]
pubfnrestart(
pubfnrestart(
&mutself,
&mutself,
language_config: &LanguageConfiguration,
language_config: &LanguageConfiguration,
@ -707,8 +710,6 @@ impl Registry {
.insert(name.clone(),vec![client.clone()])
.insert(name.clone(),vec![client.clone()])
.unwrap();
.unwrap();
// TODO what if there are multiple instances for different workspaces?
// I think the language servers will be stopped without being restarted, which is not intended