Mercurial > vim
changeset 11440:f9f2e9aa884c v8.0.0604
patch 8.0.0604: gF test fails still on MS-Windows
commit https://github.com/vim/vim/commit/712598f210570627534246cb5dcbb4f213367997
Author: Bram Moolenaar <Bram@vim.org>
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'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 24 May 2017 10:45:03 +0200 |
parents | 91bb841ccb9c |
children | 20ae51fe57de |
files | src/testdir/test_gf.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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