aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorErik Paulson <epaulson10@gmail.com>2015-01-02 11:34:34 -0800
committerErik Paulson <epaulson10@gmail.com>2015-01-04 12:23:48 -0800
commit55f00f44d30d06cf17e86d9a94bd8a42b0b04db1 (patch)
treef8466df2ee284fdb78467b46a2c606cf5dae2a6f /src/nvim/testdir
parent91b378d349425d0ad435c06fc341de5aa2f7b5c9 (diff)
downloadrneovim-55f00f44d30d06cf17e86d9a94bd8a42b0b04db1.tar.gz
rneovim-55f00f44d30d06cf17e86d9a94bd8a42b0b04db1.tar.bz2
rneovim-55f00f44d30d06cf17e86d9a94bd8a42b0b04db1.zip
vim-patch:7.4.551
Problem: "ygn" may yank too much. (Fritzophrenic) Issue 295. Solution: Check the width of the next match. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-551
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test53.in7
-rw-r--r--src/nvim/testdir/test53.ok6
2 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/testdir/test53.in b/src/nvim/testdir/test53.in
index 011c9ae39d..8ca9c9ed29 100644
--- a/src/nvim/testdir/test53.in
+++ b/src/nvim/testdir/test53.in
@@ -79,6 +79,8 @@ ggdgn.
:" test repeating gUgn
/^Depp
gggUgn.
+gg/a:0\@!\zs\d\+
+nygnop
:/^start:/,/^end:/wq! test.out
ENDTEST
@@ -108,6 +110,11 @@ delete first and last chars
uniquepattern uniquepattern
my very excellent mother just served us nachos
for (i=0; i<=10; i++)
+a:10
+
+a:1
+
+a:20
Y
text
Y
diff --git a/src/nvim/testdir/test53.ok b/src/nvim/testdir/test53.ok
index d7ffa6bc51..0c0b9ded16 100644
--- a/src/nvim/testdir/test53.ok
+++ b/src/nvim/testdir/test53.ok
@@ -49,6 +49,12 @@ elete first and last char
uniquepattern
my very excellent mongoose just served us nachos
for (j=0; i<=10; i++)
+a:10
+
+a:1
+1
+
+a:20
text
Y