diff options
author | Jurica Bradaric <jbradaric@gmail.com> | 2016-01-24 09:34:43 +0100 |
---|---|---|
committer | Jurica Bradaric <jbradaric@gmail.com> | 2016-01-24 09:55:40 +0100 |
commit | 3915ac24097619033144d68de1e9e2a750215f61 (patch) | |
tree | db4ab9243422bb0a54bf3a177bdaf7a2bc835e45 /src/nvim/message.c | |
parent | 4172ce4eb078fe63cf3696dd10f9bdf47cd70eb1 (diff) | |
download | rneovim-3915ac24097619033144d68de1e9e2a750215f61.tar.gz rneovim-3915ac24097619033144d68de1e9e2a750215f61.tar.bz2 rneovim-3915ac24097619033144d68de1e9e2a750215f61.zip |
vim-patch:7.4.722
Problem: 0x202f is not recognized as a non-breaking space character.
Solution: Add 0x202f to the list. (Christian Brabandt)
https://github.com/vim/vim/commit/73284b973a013692dd1055cf210f3138a7f3c497
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 00f4c0a85c..1dd71baaa4 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -1396,7 +1396,8 @@ void msg_prt_line(char_u *s, int list) c = *p_extra++; } else if (has_mbyte && (l = (*mb_ptr2len)(s)) > 1) { col += (*mb_ptr2cells)(s); - if (lcs_nbsp != NUL && list && mb_ptr2char(s) == 160) { + if (lcs_nbsp != NUL && list + && (mb_ptr2char(s) == 160 || mb_ptr2char(s) == 0x202f)) { mb_char2bytes(lcs_nbsp, buf); buf[(*mb_ptr2len)(buf)] = NUL; } else { |