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:
@@ -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] ','')}
|
||||
|
||||
Reference in New Issue
Block a user