mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.165
Problem: ":find" completion does not escape spaces in a directory name. (Isz) Solution: Add backslashes for EXPAND_FILES_IN_PATH. (Carlo Teubner)
This commit is contained in:
@@ -3702,6 +3702,7 @@ ExpandEscape(xp, str, numfiles, files, options)
|
|||||||
if (options & WILD_ESCAPE)
|
if (options & WILD_ESCAPE)
|
||||||
{
|
{
|
||||||
if (xp->xp_context == EXPAND_FILES
|
if (xp->xp_context == EXPAND_FILES
|
||||||
|
|| xp->xp_context == EXPAND_FILES_IN_PATH
|
||||||
|| xp->xp_context == EXPAND_SHELLCMD
|
|| xp->xp_context == EXPAND_SHELLCMD
|
||||||
|| xp->xp_context == EXPAND_BUFFERS
|
|| xp->xp_context == EXPAND_BUFFERS
|
||||||
|| xp->xp_context == EXPAND_DIRECTORIES)
|
|| xp->xp_context == EXPAND_DIRECTORIES)
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
165,
|
||||||
/**/
|
/**/
|
||||||
164,
|
164,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user