Print server stderr to the GUI

This commit is contained in:
Ben Jackson 2019-01-12 15:12:52 +00:00
commit e573c2fd9f
3 changed files with 20 additions and 7 deletions

View file

@ -26,7 +26,9 @@ EOF
endfunction
function! s:_OnServerError( channel, data ) abort
echom "Channel received error: " . a:data
py3 << EOF
_vimspector_session.OnServerStderr( vim.eval( 'a:data' ) )
EOF
endfunction
function! s:_OnExit( channel, status ) abort