mirror of https://github.com/helix-editor/helix
LSP: Gracefully handle 'workspace/configuration' from a stopped server (#6693)
parent
686a1e2f31
commit
f8b7e95481
|
@ -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…
Reference in New Issue