mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
cmdheight=0: fix bugs #18961
Continue of #16251 Fix #18953 Fix #18960 Fix #18958 Fix #18955 Fix #18970 Fix #18983 Fix #18995 Fix #19112
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user