vim-patch:7.4.722

Problem:    0x202f is not recognized as a non-breaking space character.
Solution:   Add 0x202f to the list. (Christian Brabandt)

73284b973a
This commit is contained in:
Jurica Bradaric
2016-01-24 09:34:43 +01:00
parent 4172ce4eb0
commit 3915ac2409
4 changed files with 8 additions and 5 deletions

View File

@@ -3202,7 +3202,8 @@ win_line (
// 'list': change char 160 to lcs_nbsp and space to lcs_space.
if (wp->w_p_list
&& (((c == 160 || (mb_utf8 && mb_c == 160)) && lcs_nbsp)
&& (((c == 160 || (mb_utf8 && (mb_c == 160 || mb_c == 0x202f)))
&& lcs_nbsp)
|| (c == ' ' && lcs_space && ptr - line <= trailcol))) {
c = (c == ' ') ? lcs_space : lcs_nbsp;
if (area_attr == 0 && search_attr == 0) {