diff options
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c index 76fe2ec51..427708c04 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -4696,7 +4696,8 @@ 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) { |