only set nornu if Vim is >= 7.3
This commit is contained in:
parent
07461917d0
commit
84acc480b3
|
@ -26,7 +26,10 @@ command! -nargs=? -bar -complete=customlist,startify#get_session_names SLoad cal
|
||||||
" Function: s:start {{{1
|
" Function: s:start {{{1
|
||||||
function! s:start() abort
|
function! s:start() abort
|
||||||
setfiletype startify
|
setfiletype startify
|
||||||
setlocal nonumber norelativenumber nobuflisted buftype=nofile
|
setlocal nonumber nobuflisted buftype=nofile
|
||||||
|
if v:version >= 703
|
||||||
|
setlocal norelativenumber
|
||||||
|
endif
|
||||||
|
|
||||||
call append('$', [' startify>', '', ' [e] <empty buffer>'])
|
call append('$', [' startify>', '', ' [e] <empty buffer>'])
|
||||||
let cnt = 0
|
let cnt = 0
|
||||||
|
|
Loading…
Reference in a new issue