From 83b6d9f197a44e3b8140619e6b7e9950f217aafb Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Tue, 29 Oct 2019 05:05:49 +0100 Subject: [PATCH] termdebug.vim: reset evalFromBalloonExprResult #11309 The value is used again in case of a pointer and it will cause errors then. --- runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index 52b4829f5f..b9fc77dc37 100644 --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -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