diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-16 15:46:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-16 15:46:46 +0200 |
commit | 64486671c3fcc75698c57732c50865ad0573b3fe (patch) | |
tree | 2e638c57e838549b6c314984b2405c25b2e4c175 /src/structs.h | |
parent | 13c4c5da673c488d2d340c72f401f0631b9f669d (diff) | |
download | vim-git-64486671c3fcc75698c57732c50865ad0573b3fe.tar.gz |
Add 'relativenumber' patch from Markus Heidelberg.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 5 |
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 /* |