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]);
|
||||
str += 2;
|
||||
if (c == K_ZERO) /* display <Nul> as ^@ */
|
||||
if (c == KS_ZERO) /* display <Nul> as ^@ or <Nul> */
|
||||
c = NUL;
|
||||
}
|
||||
if (IS_SPECIAL(c) || modifiers) /* special key */
|
||||
|
Reference in New Issue
Block a user