0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

Add 'relativenumber' patch from Markus Heidelberg.

This commit is contained in:
Bram Moolenaar
2010-05-16 15:46:46 +02:00
parent 13c4c5da67
commit 64486671c3
22 changed files with 204 additions and 62 deletions

View File

@@ -169,6 +169,8 @@ typedef struct
#define w_p_list w_onebuf_opt.wo_list /* 'list' */
int wo_nu;
#define w_p_nu w_onebuf_opt.wo_nu /* 'number' */
int wo_rnu;
#define w_p_rnu w_onebuf_opt.wo_rnu /* 'relativenumber' */
#ifdef FEAT_LINEBREAK
long wo_nuw;
# define w_p_nuw w_onebuf_opt.wo_nuw /* 'numberwidth' */
@@ -1907,7 +1909,8 @@ struct window_S
recomputed */
#endif
#ifdef FEAT_LINEBREAK
int w_nrwidth; /* width of 'number' column being used */
int w_nrwidth; /* width of 'number' and 'relativenumber'
column being used */
#endif
/*