closes the interactive buffer immediately after the termination
This commit is contained in:
parent
36e5cc8cf4
commit
717c68abe3
@ -13,6 +13,7 @@ function! QuickInteractiveRuby()
|
|||||||
call vimshell#execute_internal_command(
|
call vimshell#execute_internal_command(
|
||||||
\ 'iexe', vimproc#parser#split_args(l:args), { 'stdin' : '', 'stdout' : '', 'stderr' : '' },
|
\ 'iexe', vimproc#parser#split_args(l:args), { 'stdin' : '', 'stdout' : '', 'stderr' : '' },
|
||||||
\ { 'is_interactive' : 0, 'is_single_command' : 1 })
|
\ { 'is_interactive' : 0, 'is_single_command' : 1 })
|
||||||
|
let b:interactive.close_immediately = 1
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! QuickInteractiveHaskell()
|
function! QuickInteractiveHaskell()
|
||||||
@ -24,6 +25,7 @@ function! QuickInteractiveHaskell()
|
|||||||
call vimshell#execute_internal_command(
|
call vimshell#execute_internal_command(
|
||||||
\ 'iexe', vimproc#parser#split_args(l:args), { 'stdin' : '', 'stdout' : '', 'stderr' : '' },
|
\ 'iexe', vimproc#parser#split_args(l:args), { 'stdin' : '', 'stdout' : '', 'stderr' : '' },
|
||||||
\ { 'is_interactive' : 0, 'is_single_command' : 1 })
|
\ { 'is_interactive' : 0, 'is_single_command' : 1 })
|
||||||
|
let b:interactive.close_immediately = 1
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user