On Thu, 4 May 2006, Neil Bird wrote:

Around about 04/05/06 10:07, Yakov Lerner typed ...
Do you mean function a-la :ilist that returns list of matches instead of
printing them on the screen ?

Actually, I finally sussed how ballooneval works and I thought that it might be cool to show the '[i' output there.

It would be cool to show the "[I" output in a balloon. A first attempt:

  fun! Test()
    redir => output
    silent! exe "ilist! /".v:beval_text."/"
    redir END
    return output
  endf

  :set ballooneval balloonexpr=Test()

--
Gerald

Reply via email to