diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-08-04 18:23:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-08-04 18:23:22 +0200 |
commit | cc218ab3caf983a0dcd3399beb8e1ecfcf0dd25d (patch) | |
tree | 9246ca372020a59e3210a72bd54b212c485d0f66 /src/testdir/test_increment.in | |
parent | 29bc9db36e41cb519dca9381cc29a3fc1ff02106 (diff) | |
download | vim-cc218ab3caf983a0dcd3399beb8e1ecfcf0dd25d.zip |
patch 7.4.806
Problem: CTRL-A in Visual mode doesn't work properly with "alpha" in
'nrformat'.
Solution: Make it work. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test_increment.in')
-rw-r--r-- | src/testdir/test_increment.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/testdir/test_increment.in b/src/testdir/test_increment.in index 916f77e84..fb7e6e3ee 100644 --- a/src/testdir/test_increment.in +++ b/src/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 |