Skip to content

Commit

Permalink
LSP: Gracefully handle 'workspace/configuration' from a stopped server (
Browse files Browse the repository at this point in the history
  • Loading branch information
koskeller authored and wes-adams committed Jul 3, 2023
1 parent dd338f4 commit a6f8c41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helix-term/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit a6f8c41

Please sign in to comment.