mirror of
https://github.com/neovim/neovim.git
synced 2026-08-31 03:13:48 +00:00
committed by
Justin M. Keyes
parent
81525dc5c3
commit
bdfa1479d2
@@ -1370,6 +1370,11 @@ find_file_in_path_option (
|
||||
char_u *buf = NULL;
|
||||
int rel_to_curdir;
|
||||
|
||||
if (rel_fname != NULL && path_with_url((const char *)rel_fname)) {
|
||||
// Do not attempt to search "relative" to a URL. #6009
|
||||
rel_fname = NULL;
|
||||
}
|
||||
|
||||
if (first == TRUE) {
|
||||
/* copy file name into NameBuff, expanding environment variables */
|
||||
save_char = ptr[len];
|
||||
|
||||
Reference in New Issue
Block a user