diff options
| author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-07 17:53:43 +0100 |
|---|---|---|
| committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-12 22:35:24 +0100 |
| commit | 7925f0b6330c18c9391d02f844cd17b41fbb3d2e (patch) | |
| tree | 17519697c8de6e7a8c0154c9a16333c282f219da /src/nvim/testdir/test_bufline.vim | |
| parent | 5fbc1a49c719c0c93fa73277ac30d17f797d096d (diff) | |
| download | rneovim-7925f0b6330c18c9391d02f844cd17b41fbb3d2e.tar.gz rneovim-7925f0b6330c18c9391d02f844cd17b41fbb3d2e.tar.bz2 rneovim-7925f0b6330c18c9391d02f844cd17b41fbb3d2e.zip | |
vim-patch:8.1.1909: more functions can be used as methods
Problem: More functions can be used as methods.
Solution: Make a few more functions usable as a method.
https://github.com/vim/vim/commit/e49fbff384e45dd17fed72321c26937edf6de16b
Diffstat (limited to 'src/nvim/testdir/test_bufline.vim')
| -rw-r--r-- | src/nvim/testdir/test_bufline.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_bufline.vim b/src/nvim/testdir/test_bufline.vim index e038bce08e..2a8c6915e2 100644 --- a/src/nvim/testdir/test_bufline.vim +++ b/src/nvim/testdir/test_bufline.vim @@ -131,11 +131,11 @@ func Test_appendbufline_redraw() endif let lines =<< trim END new foo - let winnr=bufwinnr('foo') - let buf=bufnr('foo') + let winnr = 'foo'->bufwinnr() + let buf = bufnr('foo') wincmd p call appendbufline(buf, '$', range(1,200)) - exe winnr. 'wincmd w' + exe winnr .. 'wincmd w' norm! G wincmd p call deletebufline(buf, 1, '$') |