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
|
||||
|
||||
function! vimspector#CompleteOutput( ArgLead, CmdLine, CursorPos ) abort
|
||||
return py3eval( '_vimspector_session.GetOutputBuffers()' )
|
||||
let buffers = py3eval( '_vimspector_session.GetOutputBuffers()' )
|
||||
return join( buffers, "\n" )
|
||||
endfunction
|
||||
|
||||
function! vimspector#CompleteExpr( ArgLead, CmdLine, CursorPos ) abort
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ endif
|
|||
command! -bar -nargs=1 -complete=customlist,vimspector#CompleteExpr
|
||||
\ VimspectorWatch
|
||||
\ call vimspector#AddWatch( <f-args> )
|
||||
command! -bar -nargs=1 -complete=customlist,vimspector#CompleteOutput
|
||||
command! -bar -nargs=1 -complete=custom,vimspector#CompleteOutput
|
||||
\ VimspectorShowOutput
|
||||
\ call vimspector#ShowOutput( <f-args> )
|
||||
command! -bar -nargs=1 -complete=customlist,vimspector#CompleteExpr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue