summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
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/ex_cmds.c
parent13c4c5da673c488d2d340c72f401f0631b9f669d (diff)
downloadvim-git-64486671c3fcc75698c57732c50865ad0573b3fe.tar.gz
Add 'relativenumber' patch from Markus Heidelberg.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c1
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