mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
only set relativenumber for vim >= 7.3
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user