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/ex_cmds.c | |
parent | 13c4c5da673c488d2d340c72f401f0631b9f669d (diff) | |
download | vim-git-64486671c3fcc75698c57732c50865ad0573b3fe.tar.gz |
Add 'relativenumber' patch from Markus Heidelberg.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 2296c332b..1f9a7f217 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3488,6 +3488,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags, oldwin) curbuf->b_p_ma = FALSE; /* not modifiable */ curbuf->b_p_bin = FALSE; /* reset 'bin' before reading file */ curwin->w_p_nu = 0; /* no line numbers */ + curwin->w_p_rnu = 0; /* no relative line numbers */ #ifdef FEAT_SCROLLBIND curwin->w_p_scb = FALSE; /* no scroll binding */ #endif |