Hi Bogdan!

On Fr, 08 Jun 2012, Bogdan Manole wrote:

> Hi:
> I am new to Vim.
> I have new version of MacVim a OS X: 10.7.4
> 
> I installed the latest MACVIM app.
> 
> I was reading about balloons in a book, i want to create some tooltips
> for f# language.
> 
> The problem is that i tried to activate the balloons and is not
> working.
> I tried directly from vim:
> :set ballooneval
> :set balloondelay=400
> :set ballonexpr="textstring"
> 
> or in the .gvimrc, but isn't working :(
> 
>   1 "set nu
>   2 colorscheme slate
>   3 function! SimpleBalloon()
>   4       return 'Cursor is at line/column: ' . v:beval_lnum .
>   5              \'/' . v:beval_col .
>   6              \ ' in file ' .  bufname(v:beval_bufnr) .
>   7              \ '. Word under cursor is: "' . v:beval_text . '"'
>   8 endfunction
>   9 set balloonexpr=SimpleBalloon()
>  10 set ballooneval
> 
> Have any idea?
> I don't think this is an issue, but i can't find anywhere the solution
> to this.
> Please, could some one help me with this problem?

What happens if you hover the mouse over a line of text in the buffer? I 
think, it doesn't work in an empty line, there must be some content for 
it to work. Do you get an error message?

Make sure your vim is built with +balloon_eval (Use :version to 
confirm).

Use :verbose set balloonexpr? ballooneval? to confirm where it was last 
set and that it is set to your values above and not to something 
differently by a (filetype) plugin.

regards,
Christian
-- 
Hallo Marillenschnapstrinker!

-- 
You received this message from the "vim_use" 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

Reply via email to