diff options
| author | watiko <service@mail.watiko.net> | 2016-01-14 21:33:00 +0900 |
|---|---|---|
| committer | watiko <service@mail.watiko.net> | 2016-02-01 03:43:37 +0900 |
| commit | d21aaef4560e73d3a1e008abb72924a01fa57c14 (patch) | |
| tree | 28e44787a142bbc8ca87c7326d3600d103b053c8 /src/nvim/testdir | |
| parent | 43fd12629841d459214ead194410d317ef06006c (diff) | |
| download | rneovim-d21aaef4560e73d3a1e008abb72924a01fa57c14.tar.gz rneovim-d21aaef4560e73d3a1e008abb72924a01fa57c14.tar.bz2 rneovim-d21aaef4560e73d3a1e008abb72924a01fa57c14.zip | |
vim-patch:7.4.806
Problem: CTRL-A in Visual mode doesn't work properly with "alpha" in
'nrformat'.
Solution: Make it work. (Christian Brabandt)
https://github.com/vim/vim/commit/cc218ab3caf983a0dcd3399beb8e1ecfcf0dd25d
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_increment.in | 24 | ||||
| -rw-r--r-- | src/nvim/testdir/test_increment.ok | 9 |
2 files changed, 33 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_increment.in b/src/nvim/testdir/test_increment.in index 916f77e84b..fb7e6e3ee2 100644 --- a/src/nvim/testdir/test_increment.in +++ b/src/nvim/testdir/test_increment.in @@ -260,6 +260,16 @@ Text: 9 12 +19) increment on number with nrformat including alpha +Text: + 1 + 1a + + Expected: + 1) <Ctrl-V>j$ <ctrl-a> + 2 + 1b + STARTTEST @@ -369,6 +379,13 @@ V3k :/^E18=/+put a V3kg.. +:" Test 19 +:set nrformats+=alpha +:/^S19=/+,/^E19=/-y a +:/^E19=/+put a +k$ +:set nrformats&vim + :" Save the report :/^# Test 1/,$w! test.out :qa! @@ -547,6 +564,13 @@ E18==== +# Test 19 +S19==== +1 +1a +E19==== + + ENDTEST diff --git a/src/nvim/testdir/test_increment.ok b/src/nvim/testdir/test_increment.ok index 6ca0acce66..685478e668 100644 --- a/src/nvim/testdir/test_increment.ok +++ b/src/nvim/testdir/test_increment.ok @@ -261,6 +261,15 @@ E18==== 12 +# Test 19 +S19==== +1 +1a +E19==== + +2 +2a + ENDTEST |