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:
@@ -6272,7 +6272,7 @@ comp_textwidth(ff)
|
||||
)
|
||||
textwidth -= 1;
|
||||
#endif
|
||||
if (curwin->w_p_nu)
|
||||
if (curwin->w_p_nu || curwin->w_p_rnu)
|
||||
textwidth -= 8;
|
||||
}
|
||||
if (textwidth < 0)
|
||||
|
Reference in New Issue
Block a user