Hi,

2018-5-24(Thu) 17:29:20 UTC+9 Christian Brabandt:
> Hm, it looks like BalloonEval is initially not set therefore skipping 
> displaying the balloon.
> 
> Shouldn't we need something like this?
> 
> diff --git a/src/evalfunc.c b/src/evalfunc.c
> index 2793803b7..a1e243a9e 100644
> --- a/src/evalfunc.c
> +++ b/src/evalfunc.c
> @@ -1481,6 +1481,8 @@ f_atan2(typval_T *argvars, typval_T *rettv)
>      static void
>  f_balloon_show(typval_T *argvars, typval_T *rettv UNUSED)
>  {
> +    if (balloonEval == NULL)
> +       balloonEval = (BalloonEval *)alloc(sizeof(BalloonEval));
>      if (balloonEval != NULL)
>      {
>         if (argvars[0].v_type == VAR_LIST

Probably not a bug.
You should turn on 'ballooneval' option.
I think that it is better to mention 'ballooneval' in the document of 
balloon_show().

--
Best regards,
Hirohito Higashi (h_east)

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui