Mercurial > vim
diff src/testdir/test_popupwin.vim @ 16908:df06694b761b v8.1.1455
patch 8.1.1455: popup_atcursor() not completely implemented
commit https://github.com/vim/vim/commit/1762731f2039d78fc8ddd785c3d3b52e5968c0f1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 2 19:53:44 2019 +0200
patch 8.1.1455: popup_atcursor() not completely implemented
Problem: Popup_atcursor() not completely implemented.
Solution: Add the default for the "moved" property.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Jun 2019 20:00:06 +0200 |
parents | 9138e2c60bf1 |
children | ba7727889385 |
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -1009,8 +1009,9 @@ func Test_popup_moved() call assert_equal({}, popup_getpos(winid)) popupclear + " WORD is the default exe "normal gg0/WORD\<CR>" - let winid = popup_atcursor('text', {'moved': 'WORD'}) + let winid = popup_atcursor('text', {}) redraw call assert_equal(1, popup_getpos(winid).visible) call feedkeys("eli\<Esc>", 'xt')