Fix filtering VimspectorShowOutput
This commit is contained in:
parent
a00e6a19d6
commit
c898eb47b2
2 changed files with 3 additions and 2 deletions
|
|
@ -116,7 +116,8 @@ function! vimspector#ListBreakpoints() abort
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! vimspector#CompleteOutput( ArgLead, CmdLine, CursorPos ) abort
|
function! vimspector#CompleteOutput( ArgLead, CmdLine, CursorPos ) abort
|
||||||
return py3eval( '_vimspector_session.GetOutputBuffers()' )
|
let buffers = py3eval( '_vimspector_session.GetOutputBuffers()' )
|
||||||
|
return join( buffers, "\n" )
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! vimspector#CompleteExpr( ArgLead, CmdLine, CursorPos ) abort
|
function! vimspector#CompleteExpr( ArgLead, CmdLine, CursorPos ) abort
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ endif
|
||||||
command! -bar -nargs=1 -complete=customlist,vimspector#CompleteExpr
|
command! -bar -nargs=1 -complete=customlist,vimspector#CompleteExpr
|
||||||
\ VimspectorWatch
|
\ VimspectorWatch
|
||||||
\ call vimspector#AddWatch( <f-args> )
|
\ call vimspector#AddWatch( <f-args> )
|
||||||
command! -bar -nargs=1 -complete=customlist,vimspector#CompleteOutput
|
command! -bar -nargs=1 -complete=custom,vimspector#CompleteOutput
|
||||||
\ VimspectorShowOutput
|
\ VimspectorShowOutput
|
||||||
\ call vimspector#ShowOutput( <f-args> )
|
\ call vimspector#ShowOutput( <f-args> )
|
||||||
command! -bar -nargs=1 -complete=customlist,vimspector#CompleteExpr
|
command! -bar -nargs=1 -complete=customlist,vimspector#CompleteExpr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue