We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4596847 + ef4a9f0 commit 5bd9373Copy full SHA for 5bd9373
crates/rust-analyzer/src/config/patch_old_style.rs
@@ -116,7 +116,7 @@ pub(super) fn patch_json_for_outdated_configs(json: &mut Value) {
116
copy.pointer("/completion/addCallParenthesis"),
117
) {
118
(Some(Value::Bool(true)), Some(Value::Bool(true))) => json!("fill_arguments"),
119
- (Some(Value::Bool(true)), _) => json!("add_parentheses"),
+ (_, Some(Value::Bool(true))) => json!("add_parentheses"),
120
(Some(Value::Bool(false)), Some(Value::Bool(false))) => json!("none"),
121
(_, _) => return,
122
};
0 commit comments