From 810c96196167cc44886e40d9b80a14309e3d663a Mon Sep 17 00:00:00 2001 From: kjeremy Date: Fri, 1 May 2020 18:26:42 -0400 Subject: Update crates --- crates/rust-analyzer/src/caps.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/rust-analyzer/src/caps.rs b/crates/rust-analyzer/src/caps.rs index c0d320926..44222d8bd 100644 --- a/crates/rust-analyzer/src/caps.rs +++ b/crates/rust-analyzer/src/caps.rs @@ -43,7 +43,7 @@ pub fn server_capabilities() -> ServerCapabilities { code_action_provider: Some(CodeActionProviderCapability::Options(CodeActionOptions { // Advertise support for all built-in CodeActionKinds code_action_kinds: Some(vec![ - String::new(), + lsp_types::code_action_kind::EMPTY.to_string(), lsp_types::code_action_kind::QUICKFIX.to_string(), lsp_types::code_action_kind::REFACTOR.to_string(), lsp_types::code_action_kind::REFACTOR_EXTRACT.to_string(), -- cgit v1.2.3