LSP: Gracefully handle 'workspace/configuration' from a stopped server (#6693)
This commit is contained in:
parent
686a1e2f31
commit
f8b7e95481
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue