diff --git a/src/testdir/test_viminfo.vim b/src/testdir/test_viminfo.vim index 8206458d9..306f54d60 100644 --- a/src/testdir/test_viminfo.vim +++ b/src/testdir/test_viminfo.vim @@ -537,4 +537,10 @@ func Test_viminfo_oldfiles() call assert_equal(['1: /tmp/file_one.txt', '2: /tmp/file_two.txt', '3: /tmp/another.txt'], filter(split(execute('oldfiles'), "\n"), {i, v -> v =~ '/tmp/'})) call assert_equal(['1: /tmp/file_one.txt', '2: /tmp/file_two.txt'], filter(split(execute('filter file_ oldfiles'), "\n"), {i, v -> v =~ '/tmp/'})) call assert_equal(['3: /tmp/another.txt'], filter(split(execute('filter /another/ oldfiles'), "\n"), {i, v -> v =~ '/tmp/'})) + + new + call feedkeys("3\", 't') + browse oldfiles + call assert_equal("/tmp/another.txt", expand("%")) + bwipe endfunc diff --git a/src/version.c b/src/version.c index da62479b1..6619c7b26 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1764, /**/ 1763, /**/