diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-03-15 14:58:57 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-04-13 12:00:30 -0400 |
commit | 63fc0e1d1cedcb8e39524e785648d3f98d682f66 (patch) | |
tree | a7b8f1520e3a08debfb93624b4e62eac9c293121 /src | |
parent | 351a1cff70a2e2294adb4a90ff35cea38c2accec (diff) | |
download | rneovim-63fc0e1d1cedcb8e39524e785648d3f98d682f66.tar.gz rneovim-63fc0e1d1cedcb8e39524e785648d3f98d682f66.tar.bz2 rneovim-63fc0e1d1cedcb8e39524e785648d3f98d682f66.zip |
vim-patch:8.2.0389: delayed redraw when shifting text from Insert mode
Problem: Delayed redraw when shifting text from Insert mode.
Solution: Use msg_attr_keep() instead of msg(). (closes vim/vim#5782)
https://github.com/vim/vim/commit/e4fc746d13f5b6a0b5c3a8efdff7de1454c3297d
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 5457400b76..a70224f98b 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -261,7 +261,7 @@ void op_shift(oparg_T *oap, int curs_top, int amount) sprintf((char *)IObuff, _("%" PRId64 " lines %sed %d times"), (int64_t)oap->line_count, s, amount); } - msg(IObuff); + msg_attr_keep(IObuff, 0, true, false); } /* |