File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
" Vim script
2
2
" Author: Peter Odding
3
- " Last Change: June 6 , 2013
3
+ " Last Change: June 22 , 2013
4
4
" URL: http://peterodding.com/code/vim/session/
5
5
6
- let g: xolox #session#version = ' 2.3.11 '
6
+ let g: xolox #session#version = ' 2.4 '
7
7
8
8
" Public API for session persistence. {{{1
9
9
@@ -645,6 +645,9 @@ function! xolox#session#restart_cmd(bang, args) abort " {{{2
645
645
if ! empty (args )
646
646
let command .= ' -c ' . xolox#misc#escape#shell (args )
647
647
endif
648
+ if ! empty (v: servername )
649
+ let command .= ' --servername ' . xolox#misc#escape#shell (v: servername )
650
+ endif
648
651
" Close the session, releasing the session lock.
649
652
call xolox#session#close_cmd (a: bang , 0 , 1 , ' RestartVim' )
650
653
" Start the new Vim instance.
You can’t perform that action at this time.
0 commit comments