mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
fix(statuscolumn): force full redraw when signcolumn is invalid (#24859)
Fix #24655
This commit is contained in:
@@ -595,6 +595,8 @@ int update_screen(void)
|
||||
// Reset 'statuscolumn' if there is no dedicated signcolumn but it is invalid.
|
||||
if (*wp->w_p_stc != NUL && !wp->w_buffer->b_signcols.valid && win_no_signcol(wp)) {
|
||||
wp->w_nrwidth_line_count = 0;
|
||||
wp->w_valid &= ~VALID_WCOL;
|
||||
wp->w_redr_type = UPD_NOT_VALID;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user