Minor improvements to console usage
Display failures and stop adding random text which makes the (very useful) CodeLLDB interface look messy
This commit is contained in:
parent
16f22b396f
commit
1b9763a4fc
4 changed files with 63 additions and 10 deletions
|
|
@ -183,7 +183,7 @@ function! vimspector#Evaluate( expr ) abort
|
|||
return
|
||||
endif
|
||||
py3 _vimspector_session.ShowOutput( 'Console' )
|
||||
py3 _vimspector_session.EvaluateConsole( vim.eval( 'a:expr' ) )
|
||||
py3 _vimspector_session.EvaluateConsole( vim.eval( 'a:expr' ), True )
|
||||
endfunction
|
||||
|
||||
function! vimspector#EvaluateConsole( expr ) abort
|
||||
|
|
@ -192,7 +192,7 @@ function! vimspector#EvaluateConsole( expr ) abort
|
|||
endif
|
||||
stopinsert
|
||||
setlocal nomodified
|
||||
py3 _vimspector_session.EvaluateConsole( vim.eval( 'a:expr' ) )
|
||||
py3 _vimspector_session.EvaluateConsole( vim.eval( 'a:expr' ), False )
|
||||
endfunction
|
||||
|
||||
function! vimspector#ShowOutput( ... ) abort
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue