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
.editor
.language_servers
.get_by_id(server_id)
.unwrap()
.get_by_id(server_id)?
.config()?,
};
if let Some(section) = item.section.as_ref() {

Loading…
Cancel
Save