runtime(termdebug): Fix wrong test for balloon feature

Commit: 
https://github.com/vim/vim/commit/bbeb38db4eff4e7be2cd5fef632c80612f234bb8
Author: Ubaldo Tiberi <ubaldo.tib...@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.tib...@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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1seDNF-000xzi-3x%40256bit.org.

Raspunde prin e-mail lui