# HG changeset patch # User Christian Brabandt # Date 1495615503 -7200 # Node ID f9f2e9aa884cfd08c7ee9b963b9f8bb9682f969d # Parent 91bb841ccb9c72dba5cd52d6bd39154e7879f6ba patch 8.0.0604: gF test fails still on MS-Windows commit https://github.com/vim/vim/commit/712598f210570627534246cb5dcbb4f213367997 Author: Bram Moolenaar Date: Wed May 24 10:42:37 2017 +0200 patch 8.0.0604: gF test fails still on MS-Windows Problem: gF test fails still on MS-Windows. Solution: Use : before the line number and remove it from 'isfname'. diff --git a/src/testdir/test_gf.vim b/src/testdir/test_gf.vim --- a/src/testdir/test_gf.vim +++ b/src/testdir/test_gf.vim @@ -38,7 +38,8 @@ func Test_gF() w! Xfile close new - call setline(1, ['one', 'Xfile@3', 'three']) + set isfname-=: + call setline(1, ['one', 'Xfile:3', 'three']) 2 call assert_fails('normal gF', 'E37:') call assert_equal(2, getcurpos()[1]) @@ -47,6 +48,7 @@ func Test_gF() call assert_equal('Xfile', bufname('%')) call assert_equal(3, getcurpos()[1]) + set isfname& call delete('Xfile') call delete('Xfile2') bwipe Xfile diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 604, +/**/ 603, /**/ 602,