mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -04:00
patch 9.0.1506: line number not displayed when using 'smoothscroll'
Problem: Line number not displayed when using 'smoothscroll'. Solution: Adjust condition for showing the line number. (closes #12333)
This commit is contained in:
@@ -389,7 +389,7 @@ handle_lnum_col(
|
||||
// When there are text properties above the line put the line number
|
||||
// below them.
|
||||
if (wlv->row == lnum_row
|
||||
&& (wp->w_skipcol == 0 || wlv->row > wp->w_winrow
|
||||
&& (wp->w_skipcol == 0 || wlv->row > 0
|
||||
|| (wp->w_p_nu && wp->w_p_rnu)))
|
||||
{
|
||||
long num;
|
||||
|
Reference in New Issue
Block a user