diff options
Diffstat (limited to 'runtime/syntax/testdir/input/vim_ex_menu.vim')
-rw-r--r-- | runtime/syntax/testdir/input/vim_ex_menu.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/syntax/testdir/input/vim_ex_menu.vim b/runtime/syntax/testdir/input/vim_ex_menu.vim index da10a110e4..fb737c2c2f 100644 --- a/runtime/syntax/testdir/input/vim_ex_menu.vim +++ b/runtime/syntax/testdir/input/vim_ex_menu.vim @@ -71,3 +71,17 @@ an <silent> 10.330 &File.&Close<Tab>:close :if winheight(2) < 0 && tabpagewinnr( popup &Foo | echo "Foo" popup! &Foo | echo "Foo" + +" Issue #14230 + +" a menu item name cannot start with '.' + +export def HistoryJumpMenu() + popup.FilterMenu("Jump history", dir_hist, + (res, _) => { + HistoryJump(res.text) + }) +enddef + +popup\.FilterMenu<Tab>Filter()<CR> + |