diff options
-rw-r--r-- | helix-lsp/src/client.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs index ed9a2f83..341702c3 100644 --- a/helix-lsp/src/client.rs +++ b/helix-lsp/src/client.rs @@ -971,12 +971,12 @@ impl Client { ) -> Option<impl Future<Output = Result<Value>>> { let capabilities = self.capabilities.get().unwrap(); - // Return early if the server does not support resolving code action. - match capabilities.completion_provider { - Some(lsp::CompletionOptions { + // Return early if the server does not support resolving code actions. + match capabilities.code_action_provider { + Some(lsp::CodeActionProviderCapability::Options(lsp::CodeActionOptions { resolve_provider: Some(true), .. - }) => (), + })) => (), _ => return None, } |