forked from aniani/vim
updated for version 7.4.235
Problem: It is not easy to get the full path of a command. Solution: Add the exepath() function.
This commit is contained in:
@@ -10728,7 +10728,7 @@ addfile(gap, f, flags)
|
||||
return;
|
||||
|
||||
/* If the file isn't executable, may not add it. Do accept directories. */
|
||||
if (!isdir && (flags & EW_EXEC) && !mch_can_exe(f))
|
||||
if (!isdir && (flags & EW_EXEC) && !mch_can_exe(f, NULL))
|
||||
return;
|
||||
|
||||
/* Make room for another item in the file list. */
|
||||
|
Reference in New Issue
Block a user