diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-20 22:41:21 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-27 21:19:10 +0200 |
commit | 613296936ba30ae73f3391c2e3c36096f3703c06 (patch) | |
tree | 99944e295d8e5d62f4af4de68590b4facb82373e /test/functional/api/vim_spec.lua | |
parent | 1fdae25b2b932439fdef9e70b42e82e3153b937a (diff) | |
download | rneovim-613296936ba30ae73f3391c2e3c36096f3703c06.tar.gz rneovim-613296936ba30ae73f3391c2e3c36096f3703c06.tar.bz2 rneovim-613296936ba30ae73f3391c2e3c36096f3703c06.zip |
API: nvim_put: always PUT_CURSEND
Fixes strange behavior where sometimes the buffer contents of a series
of paste chunks (vim._paste) would be out-of-order.
Now the tui_spec.lua screen-tests are much more reliable. But they still
sometimes fail because of off-by-one cursor (caused by "typeahead race"
resulting in wrong mode; fixed later in this patch-series).
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r-- | test/functional/api/vim_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua index 09c297940c..20046147b8 100644 --- a/test/functional/api/vim_spec.lua +++ b/test/functional/api/vim_spec.lua @@ -382,6 +382,7 @@ describe('API', function() line 1 line 2 line 3]]) + command('1') -- blockwise nvim('put', {'AA','BB'}, 'b', false) expect([[ |