mirror of
https://github.com/preservim/nerdtree.git
synced 2024-10-18 22:00:21 +03:00
only set relativenumber for vim >= 7.3
This commit is contained in:
parent
bc0c64ef82
commit
1dd345c56d
@ -2664,8 +2664,10 @@ function! s:initNerdTreeInPlace(dir)
|
|||||||
setlocal nu
|
setlocal nu
|
||||||
else
|
else
|
||||||
setlocal nonu
|
setlocal nonu
|
||||||
|
if v:version >= 703
|
||||||
setlocal nornu
|
setlocal nornu
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
iabc <buffer>
|
iabc <buffer>
|
||||||
|
|
||||||
@ -2901,8 +2903,10 @@ function! s:createTreeWin()
|
|||||||
setlocal nu
|
setlocal nu
|
||||||
else
|
else
|
||||||
setlocal nonu
|
setlocal nonu
|
||||||
|
if v:version >= 703
|
||||||
setlocal nornu
|
setlocal nornu
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
iabc <buffer>
|
iabc <buffer>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user