add Windows support
Windows _should_ be supported now, but I don't really have access to a Win box, so.. Feedback is much appreciated!
This commit is contained in:
parent
6273d48db8
commit
b7a2e0aac0
2 changed files with 4 additions and 3 deletions
|
@ -29,7 +29,7 @@ function! startify#save_session(...) abort
|
|||
echo 'The session directory does not exist: '. g:startify_session_dir
|
||||
return
|
||||
endif
|
||||
let spath = g:startify_session_dir .'/'. (exists('a:1')
|
||||
let spath = g:startify_session_dir . startify#get_sep() . (exists('a:1')
|
||||
\ ? a:1
|
||||
\ : input('Save under this session name: ', '', 'custom,startify#get_session_names_as_string'))
|
||||
\ | redraw
|
||||
|
@ -50,7 +50,7 @@ function! startify#load_session(...) abort
|
|||
echo 'The session directory does not exist: '. g:startify_session_dir
|
||||
return
|
||||
endif
|
||||
let spath = g:startify_session_dir .'/'. (exists('a:1')
|
||||
let spath = g:startify_session_dir . startify#get_sep() . (exists('a:1')
|
||||
\ ? a:1
|
||||
\ : input('Load this session: ', '', 'custom,startify#get_session_names_as_string'))
|
||||
\ | redraw
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue