diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-10-10 16:48:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-10 16:48:24 -0400 |
| commit | b3e0d6708eca3cd22695d364ba2aca7401cc0f8c (patch) | |
| tree | e2742ee0a6b33161887d9dab6069357e337aa302 /src/nvim/testdir/test_prompt_buffer.vim | |
| parent | 62eec98d5feee9173ea2decb2d7cb72971c24f8b (diff) | |
| parent | a8504638cd2497b3bdd0daf27dcc50903e1e2bb9 (diff) | |
| download | rneovim-b3e0d6708eca3cd22695d364ba2aca7401cc0f8c.tar.gz rneovim-b3e0d6708eca3cd22695d364ba2aca7401cc0f8c.tar.bz2 rneovim-b3e0d6708eca3cd22695d364ba2aca7401cc0f8c.zip | |
Merge pull request #15502 from seandewar/vim-8.1.1921
Add method call support for more built-ins: vim-patch:8.1.{1336,1952,1961,1984}
Diffstat (limited to 'src/nvim/testdir/test_prompt_buffer.vim')
| -rw-r--r-- | src/nvim/testdir/test_prompt_buffer.vim | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nvim/testdir/test_prompt_buffer.vim b/src/nvim/testdir/test_prompt_buffer.vim index 6fc5850be3..3da46eb1a6 100644 --- a/src/nvim/testdir/test_prompt_buffer.vim +++ b/src/nvim/testdir/test_prompt_buffer.vim @@ -110,11 +110,8 @@ func Test_prompt_garbage_collect() new set buftype=prompt - " Nvim doesn't support method call syntax yet. - " eval bufnr('')->prompt_setcallback(function('MyPromptCallback', [{}])) - " eval bufnr('')->prompt_setinterrupt(function('MyPromptInterrupt', [{}])) - eval prompt_setcallback(bufnr(''), function('MyPromptCallback', [{}])) - eval prompt_setinterrupt(bufnr(''), function('MyPromptInterrupt', [{}])) + eval bufnr('')->prompt_setcallback(function('MyPromptCallback', [{}])) + eval bufnr('')->prompt_setinterrupt(function('MyPromptInterrupt', [{}])) call test_garbagecollect_now() " Must not crash call feedkeys("\<CR>\<C-C>", 'xt') |