:help 'path' says
- When using |netrw.vim| URLs can be used. For example, adding
"http://www.vim.org" will make ":find index.html" work.
This, however, does not actually work (and hasn't since vim 6.4.10, at
least). Attached patch fixes.
~Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
diff --git a/src/misc2.c b/src/misc2.c
index 76fe2ec..1598b10 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -4696,7 +4696,9 @@ vim_findfile(search_ctx_arg)
stackp->ffs_filearray_cur = i + 1;
ff_push(search_ctx, stackp);
- simplify_filename(file_path);
+ if (!path_with_url(file_path)) {
+ simplify_filename(file_path);
+ }
if (mch_dirname(ff_expand_buffer, MAXPATHL)
== OK)
{