From b6c60beb2d01f95cf8a98e053e58546100db8619 Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Thu, 16 Mar 2023 00:39:35 +0100 Subject: Remove unnecessary completion support check (likely an artifact) --- helix-term/src/ui/completion.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs index 859403a7..980bc8b6 100644 --- a/helix-term/src/ui/completion.rs +++ b/helix-term/src/ui/completion.rs @@ -314,15 +314,6 @@ impl Completion { language_server: &helix_lsp::Client, completion_item: lsp::CompletionItem, ) -> Option { - let completion_resolve_provider = language_server - .capabilities() - .completion_provider - .as_ref()? - .resolve_provider; - if completion_resolve_provider != Some(true) { - return None; - } - let future = language_server.resolve_completion_item(completion_item)?; let response = helix_lsp::block_on(future); match response { -- cgit v1.2.3-70-g09d2