From 0b6ce07d786e655ba2ae4767b1fca85240fb7f1d Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Thu, 20 Jan 2011 21:03:56 +1300 Subject: [PATCH] Show prototype with and balloon --- plugin/tagbar.vim | 93 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 65 insertions(+), 28 deletions(-) diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index fdb19ab..d273e8a 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -193,19 +193,25 @@ function! s:OpenWindow() syntax match SpecialKey '(.*)' " Signatures syntax match NonText '\*\ze :' " Pseudo-tag identifiers + if has('balloon_eval') + setlocal balloonexpr=TagbarBalloonExpr() + set ballooneval + endif + let cpoptions_save = &cpoptions set cpoptions&vim - nnoremap