cancel completion and hover fix

This commit is contained in:
Dongdong Zhou 2022-05-23 11:35:11 +01:00
parent 568e723d33
commit f94d55f629
1 changed files with 6 additions and 0 deletions

View File

@ -1224,6 +1224,12 @@ fn run_focus_command(
Target::Widget(self.palette.widget_id),
));
}
if self.has_completions() {
self.cancel_completion();
}
if self.has_hover() {
self.cancel_hover();
}
}
SplitVertical => {
self.main_split.split_editor(