Implement g:repl_split_command

This commit is contained in:
aiya000
2015-12-22 23:36:09 +09:00
parent 64bc624fb0
commit 60e7659efe
5 changed files with 16 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ function! repl#python#open_repl() abort
call repl#echo_error(printf("You don't have repl: '%s'", l:repl))
return
endif
let l:args = printf('%s %s %s', l:repl, l:opt, l:module_file)
execute ':VimShellInteractive' l:args
let l:args = printf('%s %s %s', l:repl, l:opt, l:module_file)
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
execute l:vimshell_interactive l:args
endfunction