summaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index f7d7fa63..4d28c8be 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -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() {