mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.3.200
Problem: CTRL-D doesn't complete :lang. Solution: Add the missing part of the change. (Dominique Pelle)
This commit is contained in:
parent
72952de239
commit
a660dc8f30
@ -3861,13 +3861,24 @@ set_one_cmd_context(xp, buff)
|
|||||||
#if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
|
#if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
|
||||||
&& (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
|
&& (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
|
||||||
case CMD_language:
|
case CMD_language:
|
||||||
if (*skiptowhite(arg) == NUL)
|
p = skiptowhite(arg);
|
||||||
|
if (*p == NUL)
|
||||||
{
|
{
|
||||||
xp->xp_context = EXPAND_LANGUAGE;
|
xp->xp_context = EXPAND_LANGUAGE;
|
||||||
xp->xp_pattern = arg;
|
xp->xp_pattern = arg;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
xp->xp_context = EXPAND_NOTHING;
|
{
|
||||||
|
if ( STRNCMP(arg, "messages", p - arg) == 0
|
||||||
|
|| STRNCMP(arg, "ctype", p - arg) == 0
|
||||||
|
|| STRNCMP(arg, "time", p - arg) == 0)
|
||||||
|
{
|
||||||
|
xp->xp_context = EXPAND_LOCALES;
|
||||||
|
xp->xp_pattern = skipwhite(p);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
xp->xp_context = EXPAND_NOTHING;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(FEAT_PROFILE)
|
#if defined(FEAT_PROFILE)
|
||||||
|
@ -709,6 +709,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 */
|
||||||
|
/**/
|
||||||
|
200,
|
||||||
/**/
|
/**/
|
||||||
199,
|
199,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user