Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

only set relativenumber for vim >= 7.3

  • Loading branch information...
commit 1dd345c56db1d11e1c1c7838587b03df7cbd5733 1 parent bc0c64e
@scrooloose scrooloose authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 plugin/NERD_tree.vim
View
8 plugin/NERD_tree.vim
@@ -2664,7 +2664,9 @@ function! s:initNerdTreeInPlace(dir)
setlocal nu
else
setlocal nonu
- setlocal nornu
+ if v:version >= 703
+ setlocal nornu
+ endif
endif
iabc <buffer>
@@ -2901,7 +2903,9 @@ function! s:createTreeWin()
setlocal nu
else
setlocal nonu
- setlocal nornu
+ if v:version >= 703
+ setlocal nornu
+ endif
endif
iabc <buffer>
Please sign in to comment.
Something went wrong with that request. Please try again.