mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-24 00:37:04 +08:00
Fix bug with balloonexpr
This commit is contained in:
parent
15d82f669c
commit
4b7aca60a7
|
@ -1913,8 +1913,8 @@ function! s:ShowPrototype()
|
|||
if has_key(taginfo, 'prototype')
|
||||
echo taginfo.prototype
|
||||
else
|
||||
echo taginfo.name ':'
|
||||
\ taginfo.numtags (taginfo.numtags > 1 ? 'tags' : 'tag')
|
||||
echo taginfo.name . ': ' .
|
||||
\ taginfo.numtags . ' ' . (taginfo.numtags > 1 ? 'tags' : 'tag')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
@ -2255,8 +2255,8 @@ function! TagbarBalloonExpr()
|
|||
if has_key(taginfo, 'prototype')
|
||||
return taginfo.prototype
|
||||
else
|
||||
return taginfo.name ':'
|
||||
\ taginfo.numtags (taginfo.numtags > 1 ? 'tags' : 'tag')
|
||||
return taginfo.name . ': ' .
|
||||
\ taginfo.numtags . ' ' . (taginfo.numtags > 1 ? 'tags' : 'tag')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user