vim: Fix search in the Assistant (#20258)
Closes #17704 Release Notes: - vim: Fix search in the assistant panel
This commit is contained in:
parent
c527f2e212
commit
4bf6fb217e
5 changed files with 48 additions and 17 deletions
|
@ -112,7 +112,9 @@ impl Vim {
|
|||
}
|
||||
|
||||
fn search(&mut self, action: &Search, cx: &mut ViewContext<Self>) {
|
||||
let Some(pane) = self.pane(cx) else { return };
|
||||
let Some(pane) = self.pane(cx) else {
|
||||
return;
|
||||
};
|
||||
let direction = if action.backwards {
|
||||
Direction::Prev
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue