vim: Fix inline completions not disappearing in normal mode (#23176)
Closes #23042 Release Notes: - Fixed inline completions (Copilot, Supermaven, ...) still being visible sometimes after leaving Vim's insert mode.
This commit is contained in:
@@ -1240,7 +1240,7 @@ impl Vim {
|
||||
.map_or(false, |provider| provider.show_completions_in_normal_mode()),
|
||||
_ => false,
|
||||
};
|
||||
editor.set_inline_completions_enabled(enable_inline_completions);
|
||||
editor.set_inline_completions_enabled(enable_inline_completions, cx);
|
||||
});
|
||||
cx.notify()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user