parent
5f45a3dc8e
commit
7d36933f9c
|
@ -263,7 +263,7 @@ function! startify#session_write(spath)
|
|||
execute 'split' a:spath
|
||||
|
||||
" put existing variables from savevars into session file
|
||||
call append(line('$')-3, map(filter(get(g:, 'startify_session_savevars', []), 'exists(v:val)'), '"let ". v:val ." = ". strtrans(string(eval(v:val)))'))
|
||||
call append(line('$')-3, map(filter(copy(get(g:, 'startify_session_savevars', [])), 'exists(v:val)'), '"let ". v:val ." = ". strtrans(string(eval(v:val)))'))
|
||||
|
||||
" put commands from savecmds into session file
|
||||
call append(line('$')-3, get(g:, 'startify_session_savecmds', []))
|
||||
|
|
Loading…
Reference in a new issue