aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-08-16 15:35:22 -0400
committerGitHub <noreply@github.com>2017-08-16 15:35:22 -0400
commitcea1248f7d357252d53df946093cdab4b889e6e5 (patch)
treedec9b4d5ac528f206366d20453d699c1a5960694 /src/nvim/testdir
parent6844ff756100a80fadf2818d35fbb2c5fe6cbaa4 (diff)
parent8dddf5590796994254fb31b4cbe1736ec3faf9f6 (diff)
downloadrneovim-cea1248f7d357252d53df946093cdab4b889e6e5.tar.gz
rneovim-cea1248f7d357252d53df946093cdab4b889e6e5.tar.bz2
rneovim-cea1248f7d357252d53df946093cdab4b889e6e5.zip
Merge pull request #7052 from ckelsel/vim-8.0.0044
vim-patch:8.0.0044
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_diffmode.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_diffmode.vim b/src/nvim/testdir/test_diffmode.vim
index 5de394de8e..f40e06ff33 100644
--- a/src/nvim/testdir/test_diffmode.vim
+++ b/src/nvim/testdir/test_diffmode.vim
@@ -218,3 +218,20 @@ func Test_diffoff()
bwipe!
bwipe!
endfunc
+
+func Test_setting_cursor()
+ new Xtest1
+ put =range(1,90)
+ wq
+ new Xtest2
+ put =range(1,100)
+ wq
+
+ tabe Xtest2
+ $
+ diffsp Xtest1
+ tabclose
+
+ call delete('Xtest1')
+ call delete('Xtest2')
+endfunc