aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-lsp/src')
-rw-r--r--helix-lsp/src/client.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index 50c4b87f..424cbabf 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -650,12 +650,11 @@ impl Client {
self.call::<lsp::request::Completion>(params)
}
- pub async fn resolve_completion_item(
+ pub fn resolve_completion_item(
&self,
completion_item: lsp::CompletionItem,
- ) -> Result<lsp::CompletionItem> {
- self.request::<lsp::request::ResolveCompletionItem>(completion_item)
- .await
+ ) -> impl Future<Output = Result<Value>> {
+ self.call::<lsp::request::ResolveCompletionItem>(completion_item)
}
pub fn text_document_signature_help(