on master help sign in
LSP: Gracefully handle 'workspace/configuration' from a stopped server (#6693)
commitf8b7e95481fee5c9a7ee4def990985a068acbc3a authorKonstantin Keller <30801340+koskeller@users.noreply.github.com> dateTue 11 Apr 2023, 00:55 (4 years ago) parent686a1e2
1 file changed+1−2
helix-term/src/application.rs+1−2
helix-term/src/application.rs+1−2
@@ -1033,8 +1033,7 @@ impl Application {
10331033 None => self
10341034 .editor
10351035 .language_servers
1036− .get_by_id(server_id)
1037− .unwrap()
1036+ .get_by_id(server_id)?
10381037 .config()?,
10391038 };
10401039 if let Some(section) = item.section.as_ref() {