From d5b5063622ab9764a851fdf56c60d14ad0736583 Mon Sep 17 00:00:00 2001 From: Robin Allen Date: Sat, 11 Jul 2015 00:03:30 +0100 Subject: Notify attached UIs whenever menus change This adds a redraw notification "update_menu" which is sent whenever Vim's menus are changed by the :menu command and friends. --- src/nvim/ui.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/nvim/ui.c') diff --git a/src/nvim/ui.c b/src/nvim/ui.c index ad875367c9..e1bbcdb193 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -324,6 +324,11 @@ void ui_cursor_goto(int new_row, int new_col) pending_cursor_update = true; } +void ui_update_menu(void) +{ + UI_CALL(update_menu); +} + int ui_current_row(void) { return row; -- cgit