Improve documentation

This commit is contained in:
ZyX 2014-09-16 20:07:38 +04:00
parent d874c0aa26
commit 4233e76cdf

View File

@ -14,16 +14,16 @@ def current_tag(pl, flags='s'):
'''Return tag that is near the cursor. '''Return tag that is near the cursor.
:param str flags: :param str flags:
Specifies additional properties of the displayed tag. Specifies additional properties of the displayed tag. Supported values:
Supported values:
* s - display complete signature * s - display complete signature
* f - display the full hierarchy of the tag * f - display the full hierarchy of the tag
* p - display the raw prototype * p - display the raw prototype
More info at `official doc More info in the `official documentation`_ (search for
<https://github.com/majutsushi/tagbar/blob/master/doc/tagbar.txt>`_ tagbar#currenttag”).
(search for 'tagbar#currenttag').
.. _`official documentation`: https://github.com/majutsushi/tagbar/blob/master/doc/tagbar.txt
''' '''
if not int(vim.eval('exists(":Tagbar")')): if not int(vim.eval('exists(":Tagbar")')):
return return