on master help sign in
LSP: Gracefully handle 'workspace/configuration' from a stopped server (#6693)
f8b7e95Konstantin Keller
helix-term/src/application.rs+1−2
@@ -1033,8 +1033,7 @@ impl Application {
1033 None => self
1033 None => self
1034 .editor
1034 .editor
1035 .language_servers
1035 .language_servers
1036− .get_by_id(server_id)
1036+ .get_by_id(server_id)?
1037− .unwrap()
1038 .config()?,
1037 .config()?,
1039 };
1038 };
1040 if let Some(section) = item.section.as_ref() {
1039 if let Some(section) = item.section.as_ref() {