aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/popupmnu.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-26 19:36:36 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-26 19:37:17 +0800
commit27116a015981926f9f7a7600fe8cb7b849290082 (patch)
treed6f671e448c6d542fe74b158b48112b6c85c42cb /src/nvim/popupmnu.c
parentee8606d31f01eed4a3e8efb6d8279fb5b4d2845e (diff)
downloadrneovim-27116a015981926f9f7a7600fe8cb7b849290082.tar.gz
rneovim-27116a015981926f9f7a7600fe8cb7b849290082.tar.bz2
rneovim-27116a015981926f9f7a7600fe8cb7b849290082.zip
vim-patch:9.0.0076: no test for what patch 8.1.1424 fixes
Problem: No test for what patch 8.1.1424 fixes. Solution: Add a test. (closes vim/vim#10789) https://github.com/vim/vim/commit/92a1678d488b7d023ddf2cd493a6ee0d7fcf1928
Diffstat (limited to 'src/nvim/popupmnu.c')
-rw-r--r--src/nvim/popupmnu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/popupmnu.c b/src/nvim/popupmnu.c
index fce67437c7..746429e5d5 100644
--- a/src/nvim/popupmnu.c
+++ b/src/nvim/popupmnu.c
@@ -1055,8 +1055,8 @@ void pum_show_popupmenu(vimmenu_T *menu)
int c = vgetc();
- // Bail out when typing Esc, CTRL-C or some callback closed the popup
- // menu.
+ // Bail out when typing Esc, CTRL-C or some callback or <expr> mapping
+ // closed the popup menu.
if (c == ESC || c == Ctrl_C || pum_array == NULL) {
break;
} else if (c == CAR || c == NL) {