Check if savevars exists
This commit is contained in:
parent
7ce625aa26
commit
e25fbe1c0d
|
@ -314,7 +314,7 @@ function! startify#session_write(spath)
|
|||
endif
|
||||
|
||||
" put variables from savevars into session file
|
||||
if !empty(savevars)
|
||||
if exists('savevars') && !empty(savevars)
|
||||
call append(line('$')-3, savevars)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue