diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index e490ba8..5612e81 100644 --- a/plugin/NERD_tree.vim +++ b/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 @@ -2901,7 +2903,9 @@ function! s:createTreeWin() setlocal nu else setlocal nonu - setlocal nornu + if v:version >= 703 + setlocal nornu + endif endif iabc