Update Rust toolchain and raise recursion limit (#10303)
This commit is contained in:
@@ -37,8 +37,8 @@ impl GooseCompleter {
|
||||
// Create completion candidates that match the prefix
|
||||
let candidates: Vec<Pair> = cache
|
||||
.prompts
|
||||
.iter()
|
||||
.flat_map(|(_, names)| names)
|
||||
.values()
|
||||
.flatten()
|
||||
.filter(|name| name.starts_with(prefix.trim()))
|
||||
.map(|name| Pair {
|
||||
display: name.clone(),
|
||||
|
||||
@@ -524,10 +524,8 @@ impl MarkdownBuffer {
|
||||
}
|
||||
}
|
||||
"]" => {}
|
||||
")" => {
|
||||
if state.in_link_url {
|
||||
state.in_link_url = false;
|
||||
}
|
||||
")" if state.in_link_url => {
|
||||
state.in_link_url = false;
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user