diff options
author | Shougo <Shougo.Matsu@gmail.com> | 2022-07-01 10:59:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 18:59:50 -0700 |
commit | 5a490d838ed3288abcf45e16e6ab79c326a67c17 (patch) | |
tree | d6084fc7aec13c4324404bb0886ad907c8446ed3 /src/nvim/ops.c | |
parent | 3b1423bfa7adc5381af641a6e66fa2ca385ecab4 (diff) | |
download | rneovim-5a490d838ed3288abcf45e16e6ab79c326a67c17.tar.gz rneovim-5a490d838ed3288abcf45e16e6ab79c326a67c17.tar.bz2 rneovim-5a490d838ed3288abcf45e16e6ab79c326a67c17.zip |
cmdheight=0: fix bugs #18961
Continue of #16251
Fix #18953
Fix #18960
Fix #18958
Fix #18955
Fix #18970
Fix #18983
Fix #18995
Fix #19112
Diffstat (limited to 'src/nvim/ops.c')
-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 42beb2e16d..639b7fd738 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -2791,7 +2791,7 @@ static void op_yank_reg(oparg_T *oap, bool message, yankreg_T *reg, bool append) xfree(reg->y_array); } - if (message) { // Display message about yank? + if (message && (p_ch > 0 || ui_has(kUIMessages))) { // Display message about yank? if (yank_type == kMTCharWise && yanklines == 1) { yanklines = 0; } |