mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
vim-patch:9.0.0206: redraw flags are not named specifically (#19913)
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
a4d158b3c8
This commit is contained in:
@@ -1623,7 +1623,7 @@ void enter_buffer(buf_T *buf)
|
||||
}
|
||||
curbuf->b_last_used = time(NULL);
|
||||
|
||||
redraw_later(curwin, NOT_VALID);
|
||||
redraw_later(curwin, UPD_NOT_VALID);
|
||||
}
|
||||
|
||||
/// Change to the directory of the current buffer.
|
||||
@@ -4034,7 +4034,7 @@ void buf_signcols_add_check(buf_T *buf, sign_entry_T *added)
|
||||
buf->b_signcols.max++;
|
||||
}
|
||||
buf->b_signcols.size++;
|
||||
redraw_buf_later(buf, NOT_VALID);
|
||||
redraw_buf_later(buf, UPD_NOT_VALID);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -4055,7 +4055,7 @@ void buf_signcols_add_check(buf_T *buf, sign_entry_T *added)
|
||||
buf->b_signcols.size = linesum;
|
||||
buf->b_signcols.max = linesum;
|
||||
buf->b_signcols.sentinel = added->se_lnum;
|
||||
redraw_buf_later(buf, NOT_VALID);
|
||||
redraw_buf_later(buf, UPD_NOT_VALID);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4074,7 +4074,7 @@ int buf_signcols(buf_T *buf, int maximum)
|
||||
if (signcols != buf->b_signcols.size) {
|
||||
buf->b_signcols.size = signcols;
|
||||
buf->b_signcols.max = maximum;
|
||||
redraw_buf_later(buf, NOT_VALID);
|
||||
redraw_buf_later(buf, UPD_NOT_VALID);
|
||||
}
|
||||
|
||||
buf->b_signcols.valid = true;
|
||||
|
Reference in New Issue
Block a user