mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
fix(column): remove sign from line it was previously on with undo
This commit is contained in:

committed by
Lewis Russell

parent
4615d46f93
commit
d88814ef68
@@ -2389,7 +2389,9 @@ static void u_undoredo(bool undo, bool do_buf_event)
|
||||
// When text has been changed, possibly the start of the next line
|
||||
// may have SpellCap that should be removed or it needs to be
|
||||
// displayed. Schedule the next line for redrawing just in case.
|
||||
if (spell_check_window(curwin) && bot <= curbuf->b_ml.ml_line_count) {
|
||||
// Also just in case the line had a sign which needs to be removed.
|
||||
if ((spell_check_window(curwin) || curbuf->b_signs_with_text)
|
||||
&& bot <= curbuf->b_ml.ml_line_count) {
|
||||
redrawWinline(curwin, bot);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user