SungHyun Nam wrote:

I tested it with vim-6.3.82 and vim-7.3beta.
And run vim as:
git grep code | vim -u NONE --noplugin -

'gf' opens a file for the line below:
somedir/somefile.c: code...
somedir/somefile.c:#include code...
somedir/somefile.c:/* code...

But, 'gf' generates error for the line below:
somedir/somefile.c://#include code...

The error message is:
E447: Can't find file "somedir/somefile.c://#include" in path

It seems '://' pattern caused problem.

Now I found VIM treats it as hypertext link.
Does it look like a valid hypertext link?
If VIM has trouble to detect valid hypertext link, how about added
another option such as 'nohypertextlink' or
'hypertextlinkprefix=ftp,http,dav,fetch,rcp,rsync,scp,sftp' or
something like that?

Thanks,
namsh

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui