Remove unused ForceRead function
This commit is contained in:
parent
ee1bb009ea
commit
5aa33c19f7
2 changed files with 0 additions and 18 deletions
|
|
@ -97,15 +97,6 @@ function! vimspector#internal#channel#Reset() abort
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! vimspector#internal#channel#ForceRead() abort
|
|
||||||
if exists( 's:ch' )
|
|
||||||
let data = ch_readraw( s:ch, { 'timeout': 1000 } )
|
|
||||||
if data !=# ''
|
|
||||||
call s:_OnServerData( s:ch, data )
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
" Boilerplate {{{
|
" Boilerplate {{{
|
||||||
let &cpoptions=s:save_cpo
|
let &cpoptions=s:save_cpo
|
||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
|
|
|
||||||
|
|
@ -115,15 +115,6 @@ function! vimspector#internal#job#Reset() abort
|
||||||
call vimspector#internal#job#StopDebugSession()
|
call vimspector#internal#job#StopDebugSession()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! vimspector#internal#job#ForceRead() abort
|
|
||||||
if exists( 's:job' )
|
|
||||||
let data = ch_readraw( job_getchannel( s:job ), { 'timeout': 1000 } )
|
|
||||||
if data !=# ''
|
|
||||||
call s:_OnServerData( job_getchannel( s:job ), data )
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! vimspector#internal#job#StartCommandWithLog( cmd, category ) abort
|
function! vimspector#internal#job#StartCommandWithLog( cmd, category ) abort
|
||||||
if ! exists( 's:commands' )
|
if ! exists( 's:commands' )
|
||||||
let s:commands = {}
|
let s:commands = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue