diff options
| author | watiko <service@mail.watiko.net> | 2016-01-15 21:59:35 +0900 |
|---|---|---|
| committer | watiko <service@mail.watiko.net> | 2016-02-01 03:47:09 +0900 |
| commit | 2016365ffe3f791193ca5d58812ed56bdfc307e5 (patch) | |
| tree | d089933ae0fe2fe37ce82897823f19b624e4d231 /src/nvim/testdir | |
| parent | cb724182fff5e9f4b9023f60da086d60eb706246 (diff) | |
| download | rneovim-2016365ffe3f791193ca5d58812ed56bdfc307e5.tar.gz rneovim-2016365ffe3f791193ca5d58812ed56bdfc307e5.tar.bz2 rneovim-2016365ffe3f791193ca5d58812ed56bdfc307e5.zip | |
vim-patch:7.4.1089
Problem: Repeating CTRL-A doesn't work.
Solution: Call prep_redo_cmd(). (Hirohito Higashi)
https://github.com/vim/vim/commit/ef2b5036b3005f1ce15d146dce72379a9834c56d
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_increment.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_increment.vim b/src/nvim/testdir/test_increment.vim index e4f67eacad..9b592edce4 100644 --- a/src/nvim/testdir/test_increment.vim +++ b/src/nvim/testdir/test_increment.vim @@ -701,4 +701,11 @@ func Test_visual_increment_37() call assert_equal(["1 26", "4 59"], getline(1, 2)) endfunc +" Check redo after the normal mode increment +func Test_visual_increment_38() + exec "norm! i10\<ESC>5\<C-A>." + call assert_equal(["20"], getline(1, '$')) + call assert_equal([0, 1, 2, 0], getpos('.')) +endfunc + " vim: tabstop=2 shiftwidth=2 expandtab |