1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Allow prototype to be shown with currenttag

This commit is contained in:
Jan Larres
2012-09-09 20:17:44 +12:00
parent a34acf4f63
commit d39a767486
2 changed files with 14 additions and 5 deletions

View File

@@ -611,6 +611,9 @@ tagbar#currenttag({format}, {default} [, {flags}])
's' If the tag is a function, the complete signature will be shown,
otherwise just "()" will be appended to distinguish functions from
other tags.
'p' Display the raw prototype instead of the parsed tag. This can be
useful in cases where ctags doesn't report some information, like
the signature. Note that this can get quite long.
For example, if you put the following into your statusline: >
%{tagbar#currenttag('[%s] ','')}