@@ -971,12 +971,12 @@ impl Client {
971971 ) -> Option<impl Future<Output = Result<Value>>> {
972972 let capabilities = self.capabilities.get().unwrap();
973973
974− // Return early if the server does not support resolving code action.
975− match capabilities.completion_provider {
976− Some(lsp::CompletionOptions {
974+ // Return early if the server does not support resolving code actions.
975+ match capabilities.code_action_provider {
976+ Some(lsp::CodeActionProviderCapability::Options(lsp::CodeActionOptions {
977977 resolve_provider: Some(true),
978978 ..
979− }) => (),
979+ })) => (),
980980 _ => return None,
981981 }
982982