From 0f9622ca2501dcdd6b1af0d86b8353e9d2265973 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 16 Aug 2018 03:05:35 -0400 Subject: vim-patch:8.0.1508: the :drop command is not always available Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes vim/vim#2639) https://github.com/vim/vim/commit/5a656864a0610547da28e0c8c1649ecd1d782948 --- src/nvim/testdir/test_normal.vim | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/nvim/testdir/test_normal.vim') diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim index 4c63bd1f71..3ca3561876 100644 --- a/src/nvim/testdir/test_normal.vim +++ b/src/nvim/testdir/test_normal.vim @@ -2180,9 +2180,6 @@ func! Test_normal44_textobjects2() endfunc func! Test_normal45_drop() - if !has("dnd") - return - endif " basic test for :drop command " unfortunately, without a gui, we can't really test much here, " so simply test that ~p fails (which uses the drop register) -- cgit From c03fc7ef3e74290b9aafa288b6ead9fefa26f09f Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 16 Aug 2018 03:22:42 -0400 Subject: vim-patch:8.0.1509: test for failing drag-n-drop command no longer fails Problem: Test for failing drag-n-drop command no longer fails. Solution: Check for the "dnd" feature. https://github.com/vim/vim/commit/294959528e02403cd7ef6541208835f0c621c63b --- src/nvim/testdir/test_normal.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/nvim/testdir/test_normal.vim') diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim index 3ca3561876..86b3e352bd 100644 --- a/src/nvim/testdir/test_normal.vim +++ b/src/nvim/testdir/test_normal.vim @@ -2180,7 +2180,11 @@ func! Test_normal44_textobjects2() endfunc func! Test_normal45_drop() - " basic test for :drop command + if !has('dnd') + return + endif + + " basic test for drag-n-drop " unfortunately, without a gui, we can't really test much here, " so simply test that ~p fails (which uses the drop register) new -- cgit