LSP: Gracefully handle 'workspace/configuration' from a stopped server (#6693)

pull/6699/head
Konstantin Keller 2 years ago committed by GitHub
parent 686a1e2f31
commit f8b7e95481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1033,8 +1033,7 @@ impl Application {
None => self None => self
.editor .editor
.language_servers .language_servers
.get_by_id(server_id) .get_by_id(server_id)?
.unwrap()
.config()?, .config()?,
}; };
if let Some(section) = item.section.as_ref() { if let Some(section) = item.section.as_ref() {

Loading…
Cancel
Save