mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.3.1143
Problem: When mapping NUL it is displayed as an X. Solution: Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -1577,7 +1577,7 @@ str2special(sp, from)
|
|||||||
{
|
{
|
||||||
c = TO_SPECIAL(str[1], str[2]);
|
c = TO_SPECIAL(str[1], str[2]);
|
||||||
str += 2;
|
str += 2;
|
||||||
if (c == K_ZERO) /* display <Nul> as ^@ */
|
if (c == KS_ZERO) /* display <Nul> as ^@ or <Nul> */
|
||||||
c = NUL;
|
c = NUL;
|
||||||
}
|
}
|
||||||
if (IS_SPECIAL(c) || modifiers) /* special key */
|
if (IS_SPECIAL(c) || modifiers) /* special key */
|
||||||
|
@@ -728,6 +728,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 */
|
||||||
|
/**/
|
||||||
|
1143,
|
||||||
/**/
|
/**/
|
||||||
1142,
|
1142,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user