diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-23 22:31:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-23 22:31:37 +0200 |
commit | 1a3a89168d61c2fed91cbca812cf1c6983901b79 (patch) | |
tree | a28bb59bc78f9832066fe00c551eefaafc4b8daa /src/testdir/test_popup.vim | |
parent | d019039ccd7cbeae8923db20383a241d7fc77e2c (diff) |
patch 8.1.1915: more functions can be used as methodsv8.1.1915
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_popup.vim')
-rw-r--r-- | src/testdir/test_popup.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim index 6c86d6936a..5b602cc12e 100644 --- a/src/testdir/test_popup.vim +++ b/src/testdir/test_popup.vim @@ -250,7 +250,7 @@ endfunc func Test_noinsert_complete() func! s:complTest1() abort - call complete(1, ['source', 'soundfold']) + eval ['source', 'soundfold']->complete(1) return '' endfunc @@ -403,7 +403,7 @@ func DummyCompleteFour(findstart, base) return 0 else call complete_add('four1') - call complete_add('four2') + eval 'four2'->complete_add() call complete_check() call complete_add('four3') call complete_add('four4') @@ -993,7 +993,7 @@ func GetCompleteInfo() if empty(g:compl_what) let g:compl_info = complete_info() else - let g:compl_info = complete_info(g:compl_what) + let g:compl_info = g:compl_what->complete_info() endif return '' endfunc |