mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4b.017
Problem: ":he \^x" gives a strange error message. (glts) Solution: Do not translate \^x to \_CTRL-x.
This commit is contained in:
parent
026a445c40
commit
d82db6046c
@ -6019,8 +6019,8 @@ find_help_tags(arg, num_matches, matches, keep_lang)
|
|||||||
if (*s < ' ' || (*s == '^' && s[1] && (ASCII_ISALPHA(s[1])
|
if (*s < ' ' || (*s == '^' && s[1] && (ASCII_ISALPHA(s[1])
|
||||||
|| vim_strchr((char_u *)"?@[\\]^", s[1]) != NULL)))
|
|| vim_strchr((char_u *)"?@[\\]^", s[1]) != NULL)))
|
||||||
{
|
{
|
||||||
if (d > IObuff && d[-1] != '_')
|
if (d > IObuff && d[-1] != '_' && d[-1] != '\\')
|
||||||
*d++ = '_'; /* prepend a '_' */
|
*d++ = '_'; /* prepend a '_' to make x_CTRL-x */
|
||||||
STRCPY(d, "CTRL-");
|
STRCPY(d, "CTRL-");
|
||||||
d += 5;
|
d += 5;
|
||||||
if (*s < ' ')
|
if (*s < ' ')
|
||||||
|
@ -727,6 +727,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 */
|
||||||
|
/**/
|
||||||
|
17,
|
||||||
/**/
|
/**/
|
||||||
16,
|
16,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user