1
0
mirror of https://github.com/gryf/tagbar.git synced 2026-02-07 00:35:52 +01:00

Display the kind (type) of the tag on the status bar.

Besides the usual tag hierarchy, type of the tag would be provided.
This commit is contained in:
2016-02-14 13:41:29 +01:00
parent 7b36c46d17
commit 8d8550cf5d
2 changed files with 17 additions and 6 deletions

View File

@@ -828,6 +828,9 @@ tagbar#currenttag({format}, {default} [, {flags}])
'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.
'k' This is essentially the same as in 'f' flag - it will display the
full hierarchy of the tag, and additionally will provide the
information of the kind of the tag.
For example, if you put the following into your statusline: >
%{tagbar#currenttag('[%s] ','')}