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 Schuyler Mortimer committed Jul 10, 2024
1 parent a252be9 commit 526dff1
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 @@ -1086,8 +1086,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 526dff1

Please sign in to comment.