diff options
Diffstat (limited to 'crates/rust-analyzer/src/reload.rs')
-rw-r--r-- | crates/rust-analyzer/src/reload.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/reload.rs b/crates/rust-analyzer/src/reload.rs index 79e39e3a5..ce5cedeb3 100644 --- a/crates/rust-analyzer/src/reload.rs +++ b/crates/rust-analyzer/src/reload.rs | |||
@@ -79,7 +79,7 @@ impl GlobalState { | |||
79 | } | 79 | } |
80 | pub(crate) fn transition(&mut self, new_status: Status) { | 80 | pub(crate) fn transition(&mut self, new_status: Status) { |
81 | self.status = new_status; | 81 | self.status = new_status; |
82 | if self.config.client_caps.status_notification { | 82 | if self.config.status_notification() { |
83 | let lsp_status = match new_status { | 83 | let lsp_status = match new_status { |
84 | Status::Loading => lsp_ext::Status::Loading, | 84 | Status::Loading => lsp_ext::Status::Loading, |
85 | Status::Ready => lsp_ext::Status::Ready, | 85 | Status::Ready => lsp_ext::Status::Ready, |