Thursday, January 19, 2012

balloneval: balloonexpr over empty lines

Hi,

I noticed that bexpr doesn't seem to get called when the mouse pointer hovers over an empty line. This can be easily be tested with:

vimrc:
set nocp
set beval
set bexpr=MyBalloonExpr()
function! MyBalloonExpr()
    return 'Cursor is at line ' . v:beval_lnum .
                \', column ' . v:beval_col .
                \ ' of file ' .  bufname(v:beval_bufnr) .
                \ ' on word "' . v:beval_text . '"'
endf

$ gvim -u vimrc

Is there a way to change this behaviour and to make vim display balloons over empty lines?

Regards,
Tom

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