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