Mercurial > vim
diff src/misc1.c @ 2495:a847363bf06e vim73
Fix a few problems for :find completion. Test much more. (Nazri Ramliy)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 05 Aug 2010 21:40:16 +0200 |
parents | 7ec9ada2cd81 |
children | 6768ebd0bc04 |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -9337,6 +9337,8 @@ expand_path_option(curdir, gap) } else if (buf[0] == NUL) /* relative to current directory */ STRCPY(buf, curdir); + else if (path_with_url(buf)) + continue; else if (!mch_isFullName(buf)) { /* Expand relative path to their full path equivalent */