mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
vim-patch:7.4.371
Problem: When 'linebreak' is set control characters are not correctly displayed. (Kimmy Lindvall) Solution: Set n_extra. (Christian Brabandt)
This commit is contained in:
@@ -3562,6 +3562,9 @@ win_line (
|
|||||||
mb_utf8 = FALSE; /* don't draw as UTF-8 */
|
mb_utf8 = FALSE; /* don't draw as UTF-8 */
|
||||||
} else if (c != NUL) {
|
} else if (c != NUL) {
|
||||||
p_extra = transchar(c);
|
p_extra = transchar(c);
|
||||||
|
if (n_extra == 0) {
|
||||||
|
n_extra = byte2cells(c);
|
||||||
|
}
|
||||||
if ((dy_flags & DY_UHEX) && wp->w_p_rl)
|
if ((dy_flags & DY_UHEX) && wp->w_p_rl)
|
||||||
rl_mirror(p_extra); /* reverse "<12>" */
|
rl_mirror(p_extra); /* reverse "<12>" */
|
||||||
c_extra = NUL;
|
c_extra = NUL;
|
||||||
|
@@ -224,7 +224,7 @@ static int included_patches[] = {
|
|||||||
//374,
|
//374,
|
||||||
//373,
|
//373,
|
||||||
//372,
|
//372,
|
||||||
//371,
|
371,
|
||||||
//370,
|
//370,
|
||||||
//369,
|
//369,
|
||||||
//368,
|
//368,
|
||||||
|
Reference in New Issue
Block a user