mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
Add 'relativenumber' patch from Markus Heidelberg.
This commit is contained in:
@@ -4412,7 +4412,7 @@ gui_update_horiz_scrollbar(force)
|
||||
max += W_WIDTH(curwin) - 1;
|
||||
#endif
|
||||
/* The line number isn't scrolled, thus there is less space when
|
||||
* 'number' is set (also for 'foldcolumn'). */
|
||||
* 'number' or 'relativenumber' is set (also for 'foldcolumn'). */
|
||||
size -= curwin_col_off();
|
||||
#ifndef SCROLL_PAST_END
|
||||
max -= curwin_col_off();
|
||||
|
Reference in New Issue
Block a user