fix: Fix config patching for callable snippets
This commit is contained in:
parent
ba329913fa
commit
a7a1a83463
@ -117,7 +117,7 @@ macro_rules! patch {
|
||||
) {
|
||||
(Some(Value::Bool(true)), Some(Value::Bool(true))) => json!("fill_arguments"),
|
||||
(Some(Value::Bool(true)), _) => json!("add_parentheses"),
|
||||
(Some(Value::Bool(false)), Some(Value::Bool(false))) => json!("add_parentheses"),
|
||||
(Some(Value::Bool(false)), Some(Value::Bool(false))) => json!("none"),
|
||||
(_, _) => return,
|
||||
};
|
||||
merge(json, json!({ "completion": { "callable": {"snippets": res }} }));
|
||||
|
Loading…
Reference in New Issue
Block a user