aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2015-01-08 09:03:29 +0100
committerFlorian Walch <florian@fwalch.com>2015-01-08 09:03:54 +0100
commit869d4c972eebb0b0c75425f005b2681dd9f8268b (patch)
treec0ea31e385bedf373e9999a066041aa966a1de4b
parent65c1e265dd521326649cd46738fcb3451c2820c3 (diff)
downloadrneovim-869d4c972eebb0b0c75425f005b2681dd9f8268b.tar.gz
rneovim-869d4c972eebb0b0c75425f005b2681dd9f8268b.tar.bz2
rneovim-869d4c972eebb0b0c75425f005b2681dd9f8268b.zip
vim-patch:7.4.563
Problem: No test for replacing on a tab in Virtual replace mode. Solution: Add a test. (Elias Diem) https://code.google.com/p/vim/source/detail?r=v7-4-563
-rw-r--r--src/nvim/testdir/test48.in5
-rw-r--r--src/nvim/testdir/test48.ok1
-rw-r--r--src/nvim/version.c2
3 files changed, 7 insertions, 1 deletions
diff --git a/src/nvim/testdir/test48.in b/src/nvim/testdir/test48.in
index 25ea2fa154..998e1bba00 100644
--- a/src/nvim/testdir/test48.in
+++ b/src/nvim/testdir/test48.in
@@ -44,6 +44,10 @@ $4lDi<-- 'D' should be intact
/^"r"
$5lrxa<-- should be 'x'
:"
+:" Test "r" on a tab
+:" Note that for this test, 'ts' must be 8 (the default).
+^5lrxA<-- should be ' x '
+:"
:" Test to make sure 'x' can delete control characters
:set display=uhex
^xxxxxxi[This line should contain only the text between the brackets.]
@@ -72,6 +76,7 @@ this is a test
this is a test
this is a test
"r"
+"r"
ab sd
abcv6efi.him0kl
diff --git a/src/nvim/testdir/test48.ok b/src/nvim/testdir/test48.ok
index 334cb5a29c..14cd9b12ec 100644
--- a/src/nvim/testdir/test48.ok
+++ b/src/nvim/testdir/test48.ok
@@ -12,6 +12,7 @@ this is a test
this is a test
this is a test
"r" x<-- should be 'x'
+"r" x <-- should be ' x '
[This line should contain only the text between the brackets.]
v i m <-- should show the name of a noted text editor
6 . 0 <-- and its version number
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 2810d9b0ee..3e214bfd30 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -182,7 +182,7 @@ static int included_patches[] = {
//566,
//565,
//564,
- //563,
+ 563,
//562,
//561,
//560 NA