mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4.240
Problem: ":tjump" shows "\n" as "\\n". Solution: Skip over "\" that escapes a backslash. (Gary Johnson)
This commit is contained in:
parent
3e45159ceb
commit
fe5aab63fe
@ -741,8 +741,10 @@ do_tag(tag, type, count, forceit, verbose)
|
|||||||
break;
|
break;
|
||||||
msg_advance(15);
|
msg_advance(15);
|
||||||
|
|
||||||
/* skip backslash used for escaping command char */
|
/* skip backslash used for escaping a command char or
|
||||||
if (*p == '\\' && *(p + 1) == *tagp.command)
|
* a backslash */
|
||||||
|
if (*p == '\\' && (*(p + 1) == *tagp.command
|
||||||
|
|| *(p + 1) == '\\'))
|
||||||
++p;
|
++p;
|
||||||
|
|
||||||
if (*p == TAB)
|
if (*p == TAB)
|
||||||
|
@ -734,6 +734,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 */
|
||||||
|
/**/
|
||||||
|
240,
|
||||||
/**/
|
/**/
|
||||||
239,
|
239,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user