mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.240
Problem: ":tjump" shows "\n" as "\\n". Solution: Skip over "\" that escapes a backslash. (Gary Johnson) https://code.google.com/p/vim/source/detail?r=8d1ba0a23588932d22ad37cbd87ae3bbd4bfeff8
This commit is contained in:
parent
fca5a5e744
commit
40970917dc
@ -645,9 +645,11 @@ do_tag (
|
|||||||
break;
|
break;
|
||||||
msg_advance(15);
|
msg_advance(15);
|
||||||
|
|
||||||
/* skip backslash used for escaping command char */
|
// Skip backslash used for escaping a command char or a backslash.
|
||||||
if (*p == '\\' && *(p + 1) == *tagp.command)
|
if (*p == '\\' && (*(p + 1) == *tagp.command
|
||||||
|
|| *(p + 1) == '\\')) {
|
||||||
++p;
|
++p;
|
||||||
|
}
|
||||||
|
|
||||||
if (*p == TAB) {
|
if (*p == TAB) {
|
||||||
msg_putchar(' ');
|
msg_putchar(' ');
|
||||||
|
@ -221,7 +221,7 @@ static int included_patches[] = {
|
|||||||
//242,
|
//242,
|
||||||
//241,
|
//241,
|
||||||
//240,
|
//240,
|
||||||
//240,
|
240,
|
||||||
239,
|
239,
|
||||||
//238,
|
//238,
|
||||||
//237,
|
//237,
|
||||||
|
Loading…
Reference in New Issue
Block a user