mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.3.002
Problem: ":find" completion doesn't work when halfway an environment variable. (Dominique Pelle) Solution: Only use in-path completion when expanding file names. (Nazri Ramliy)
This commit is contained in:
parent
7f03644116
commit
da9836cfa9
@ -9317,7 +9317,8 @@ is_unique(maybe_unique, gap, i)
|
|||||||
continue; /* it's different when it's shorter */
|
continue; /* it's different when it's shorter */
|
||||||
|
|
||||||
rival = other_paths[j] + other_path_len - candidate_len;
|
rival = other_paths[j] + other_path_len - candidate_len;
|
||||||
if (fnamecmp(maybe_unique, rival) == 0)
|
if (fnamecmp(maybe_unique, rival) == 0
|
||||||
|
&& (rival == other_paths[j] || vim_ispathsep(*(rival - 1))))
|
||||||
return FALSE; /* match */
|
return FALSE; /* match */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
1,
|
||||||
/**/
|
/**/
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user