diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index d1679659008..5fc6800cf2f 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -294,10 +294,6 @@ impl Config { max_length: data.inlayHints_maxLength, }; - self.completion.enable_postfix_completions = data.completion_postfix_enable; - self.completion.add_call_parenthesis = data.completion_addCallParenthesis; - self.completion.add_call_argument_snippets = data.completion_addCallArgumentSnippets; - self.assist.insert_use.merge = match data.assist_importMergeBehaviour { MergeBehaviourDef::None => None, MergeBehaviourDef::Full => Some(MergeBehaviour::Full), @@ -309,6 +305,11 @@ impl Config { ImportPrefixDef::BySelf => PrefixKind::BySelf, }; + self.completion.enable_postfix_completions = data.completion_postfix_enable; + self.completion.add_call_parenthesis = data.completion_addCallParenthesis; + self.completion.add_call_argument_snippets = data.completion_addCallArgumentSnippets; + self.completion.merge = self.assist.insert_use.merge; + self.call_info_full = data.callInfo_full; self.lens = LensConfig {