mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.0-221
This commit is contained in:
@@ -2541,10 +2541,12 @@ filter({expr}, {string}) *filter()*
|
|||||||
|
|
||||||
|
|
||||||
finddir({name}[, {path}[, {count}]]) *finddir()*
|
finddir({name}[, {path}[, {count}]]) *finddir()*
|
||||||
Find directory {name} in {path}. Returns the path of the
|
Find directory {name} in {path}. Supports both downwards and
|
||||||
first found match. When the found directory is below the
|
upwards recursive directory searches. See |file-searching|
|
||||||
current directory a relative path is returned. Otherwise a
|
for the syntax of {path}.
|
||||||
full path is returned.
|
Returns the path of the first found match. When the found
|
||||||
|
directory is below the current directory a relative path is
|
||||||
|
returned. Otherwise a full path is returned.
|
||||||
If {path} is omitted or empty then 'path' is used.
|
If {path} is omitted or empty then 'path' is used.
|
||||||
If the optional {count} is given, find {count}'s occurrence of
|
If the optional {count} is given, find {count}'s occurrence of
|
||||||
{name} in {path} instead of the first one.
|
{name} in {path} instead of the first one.
|
||||||
|
@@ -9195,7 +9195,7 @@ findfilendir(argvars, rettv, dir)
|
|||||||
vim_free(fresult);
|
vim_free(fresult);
|
||||||
fresult = find_file_in_path_option(first ? fname : NULL,
|
fresult = find_file_in_path_option(first ? fname : NULL,
|
||||||
first ? (int)STRLEN(fname) : 0,
|
first ? (int)STRLEN(fname) : 0,
|
||||||
0, first, path, dir, NULL,
|
0, first, path, dir, curbuf->b_ffname,
|
||||||
dir ? (char_u *)"" : curbuf->b_p_sua);
|
dir ? (char_u *)"" : curbuf->b_p_sua);
|
||||||
first = FALSE;
|
first = FALSE;
|
||||||
|
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
221,
|
||||||
/**/
|
/**/
|
||||||
220,
|
220,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user