Saturday, June 9, 2012

Re: macvim

Yes, it returns value 1

On Jun 8, 10:10 pm, Ben Fritz <fritzophre...@gmail.com> wrote:
> On Friday, June 8, 2012 10:25:34 AM UTC-5, 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
>
> Is support compiled in? What does this say:
>
> :echo has('balloon_eval')

--
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

No comments: