diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-18 00:01:05 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-18 01:24:02 -0400 |
commit | 54d07b648c56d8f29755bb7139476dff952e8513 (patch) | |
tree | 356d3c34510049ab216274e64ccdad383ea3ded5 /src/nvim/message.c | |
parent | 9817d991403ea3646b9a01234d12c7661ff8c62b (diff) | |
download | rneovim-54d07b648c56d8f29755bb7139476dff952e8513.tar.gz rneovim-54d07b648c56d8f29755bb7139476dff952e8513.tar.bz2 rneovim-54d07b648c56d8f29755bb7139476dff952e8513.zip |
vim-patch:8.2.0943: displaying ^M or ^J depends on current buffer
Problem: Displaying ^M or ^J depends on current buffer.
Solution: Pass the displayed buffer to transchar(). (closes vim/vim#6225)
https://github.com/vim/vim/commit/32ee627750e8b7b3fa6516b893e72f6e6af54710
N/A patches for version.c:
vim-patch:8.2.0862: ":term ++curwin" makes the current buffer hidden
Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
Hennepe)
Solution: Do not hide the current buffer. (closes vim/vim#6170)
https://github.com/vim/vim/commit/b10090928cb5283f867e8457b7eea0985470d8d4
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 6e2a221ab0..6cd5616acf 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -1621,7 +1621,7 @@ const char *str2special(const char **const sp, const bool replace_spaces, // Check for an illegal byte. if (MB_BYTE2LEN((uint8_t)(*str)) > len) { - transchar_nonprint((char_u *)buf, c); + transchar_nonprint(curbuf, (char_u *)buf, c); *sp = str + 1; return buf; } |