aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorPhilipp Mildenberger2023-03-15 23:39:35 +0000
committerPhilipp Mildenberger2023-05-18 19:48:32 +0000
commitb6c60beb2d01f95cf8a98e053e58546100db8619 (patch)
treeb4d4501ec1d3078f5f07e692c7070c7da7c4e913 /helix-term/src
parent44b2b401907c501aca7e3f7340730406b8c3a1fb (diff)
Remove unnecessary completion support check (likely an artifact)
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/ui/completion.rs9
1 files changed, 0 insertions, 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<lsp::CompletionItem> {
- 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 {