termdebug.vim: reset evalFromBalloonExprResult #11309

The value is used again in case of a pointer and it will cause errors then.
This commit is contained in:
Jelte Fennema 2019-10-29 05:05:49 +01:00 committed by Justin M. Keyes
parent 5a212a96a6
commit 83b6d9f197

View File

@ -583,6 +583,7 @@ func s:HandleEvaluate(msg)
endif
let s:evalFromBalloonExprResult = split(s:evalFromBalloonExprResult, '\\n')
call s:OpenHoverPreview(s:evalFromBalloonExprResult, v:null)
let s:evalFromBalloonExprResult = ''
else
echomsg '"' . s:evalexpr . '": ' . value
endif