diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-10-16 20:05:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 19:05:47 +0000 |
commit | 1fd8d092eafc168af779040e93129d14e5a7187d (patch) | |
tree | 51f8e7310dd94059cf4a4284a24be22965ab7a70 /cli/lsp/client.rs | |
parent | f7dba52133904a9e4ca0468e2c98894992ea2e42 (diff) |
Revert "feat(lsp): "deno/didRefreshDenoConfigurationTree" notificatio… (#26320)
…ns (#26215)"
This reverts commit 06778e4e9b0a856ac39cc01f0813e6076eb150d6 because
benchmarks are failing on `main`.
Diffstat (limited to 'cli/lsp/client.rs')
-rw-r--r-- | cli/lsp/client.rs | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/cli/lsp/client.rs b/cli/lsp/client.rs index 65865d5b3..b3f0d64fa 100644 --- a/cli/lsp/client.rs +++ b/cli/lsp/client.rs @@ -92,19 +92,6 @@ impl Client { }); } - pub fn send_did_refresh_deno_configuration_tree_notification( - &self, - params: lsp_custom::DidRefreshDenoConfigurationTreeNotificationParams, - ) { - // do on a task in case the caller currently is in the lsp lock - let client = self.0.clone(); - spawn(async move { - client - .send_did_refresh_deno_configuration_tree_notification(params) - .await; - }); - } - pub fn send_did_change_deno_configuration_notification( &self, params: lsp_custom::DidChangeDenoConfigurationNotificationParams, @@ -182,10 +169,6 @@ trait ClientTrait: Send + Sync { params: lsp_custom::DiagnosticBatchNotificationParams, ); async fn send_test_notification(&self, params: TestingNotification); - async fn send_did_refresh_deno_configuration_tree_notification( - &self, - params: lsp_custom::DidRefreshDenoConfigurationTreeNotificationParams, - ); async fn send_did_change_deno_configuration_notification( &self, params: lsp_custom::DidChangeDenoConfigurationNotificationParams, @@ -266,18 +249,6 @@ impl ClientTrait for TowerClient { } } - async fn send_did_refresh_deno_configuration_tree_notification( - &self, - params: lsp_custom::DidRefreshDenoConfigurationTreeNotificationParams, - ) { - self - .0 - .send_notification::<lsp_custom::DidRefreshDenoConfigurationTreeNotification>( - params, - ) - .await - } - async fn send_did_change_deno_configuration_notification( &self, params: lsp_custom::DidChangeDenoConfigurationNotificationParams, @@ -395,12 +366,6 @@ impl ClientTrait for ReplClient { async fn send_test_notification(&self, _params: TestingNotification) {} - async fn send_did_refresh_deno_configuration_tree_notification( - &self, - _params: lsp_custom::DidRefreshDenoConfigurationTreeNotificationParams, - ) { - } - async fn send_did_change_deno_configuration_notification( &self, _params: lsp_custom::DidChangeDenoConfigurationNotificationParams, |