Commit: runtime(termdebug): Fix wrong test for balloon feature

5 views
Skip to first unread message

Christian Brabandt

unread,
Aug 14, 2024, 8:45:16 AM8/14/24
to vim...@googlegroups.com
runtime(termdebug): Fix wrong test for balloon feature

Commit: https://github.com/vim/vim/commit/bbeb38db4eff4e7be2cd5fef632c80612f234bb8
Author: Ubaldo Tiberi <ubaldo...@google.com>
Date: Wed Aug 14 14:41:02 2024 +0200

runtime(termdebug): Fix wrong test for balloon feature

fixes: https://github.com/vim/vim/issues/15359
closes: https://github.com/vim/vim/issues/15487

Signed-off-by: Ubaldo Tiberi <ubaldo...@google.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index 04f82bd50..377827e85 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -1536,7 +1536,7 @@ def CleanupExpr(passed_expr: string): string
enddef

def Balloon_show(expr: string)
- if has("+balloon_eval") || has("+balloon_eval_term")
+ if has("balloon_eval") || has("balloon_eval_term")
balloon_show(expr)
endif
enddef
Reply all
Reply to author
Forward
0 new messages