mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
autocmd: rename MenuPopupChanged to CompleteChanged #9819
This commit is contained in:

committed by
Justin M. Keyes

parent
c76494d8b7
commit
9e52255de2
@@ -2681,7 +2681,7 @@ void ins_compl_show_pum(void)
|
||||
pum_display(compl_match_array, compl_match_arraysize, cur, array_changed, 0);
|
||||
curwin->w_cursor.col = col;
|
||||
|
||||
if (!has_event(EVENT_MENUPOPUPCHANGED)) {
|
||||
if (!has_event(EVENT_COMPLETECHANGED)) {
|
||||
return;
|
||||
}
|
||||
dict_T *dict = get_vim_var_dict(VV_EVENT);
|
||||
@@ -2694,7 +2694,7 @@ void ins_compl_show_pum(void)
|
||||
pum_set_boundings(dict);
|
||||
tv_dict_set_keys_readonly(dict);
|
||||
textlock++;
|
||||
apply_autocmds(EVENT_MENUPOPUPCHANGED, NULL, NULL, false, curbuf);
|
||||
apply_autocmds(EVENT_COMPLETECHANGED, NULL, NULL, false, curbuf);
|
||||
textlock--;
|
||||
tv_dict_clear(dict);
|
||||
}
|
||||
|
Reference in New Issue
Block a user