summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-16 15:46:46 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-16 15:46:46 +0200
commit64486671c3fcc75698c57732c50865ad0573b3fe (patch)
tree2e638c57e838549b6c314984b2405c25b2e4c175 /src/structs.h
parent13c4c5da673c488d2d340c72f401f0631b9f669d (diff)
downloadvim-git-64486671c3fcc75698c57732c50865ad0573b3fe.tar.gz
Add 'relativenumber' patch from Markus Heidelberg.
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h
index d434bfee4..72bd96cd4 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -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
/*