aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelte Fennema <github-tech@jeltef.nl>2019-10-29 05:05:49 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-10-28 21:05:49 -0700
commit83b6d9f197a44e3b8140619e6b7e9950f217aafb (patch)
tree71844202c185d16e8d706c6399042dd4dd38f9ab
parent5a212a96a6d784c9d62eee2bbca525ff0f815061 (diff)
downloadrneovim-83b6d9f197a44e3b8140619e6b7e9950f217aafb.tar.gz
rneovim-83b6d9f197a44e3b8140619e6b7e9950f217aafb.tar.bz2
rneovim-83b6d9f197a44e3b8140619e6b7e9950f217aafb.zip
termdebug.vim: reset evalFromBalloonExprResult #11309
The value is used again in case of a pointer and it will cause errors then.
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim1
1 files changed, 1 insertions, 0 deletions
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