diff options
author | Konstantin Keller | 2023-04-10 21:55:52 +0000 |
---|---|---|
committer | GitHub | 2023-04-10 21:55:52 +0000 |
commit | f8b7e95481fee5c9a7ee4def990985a068acbc3a (patch) | |
tree | 407fdb14d9ca41d5d2adfb8cfa582c401823efa8 /helix-term/src/application.rs | |
parent | 686a1e2f311932c2fcfeee6e8384ab8ce959d618 (diff) |
LSP: Gracefully handle 'workspace/configuration' from a stopped server (#6693)
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 3 |
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() { |