Return None explicitly

This commit is contained in:
ZyX 2014-09-16 20:07:54 +04:00
parent 4233e76cdf
commit a092ebed47
1 changed files with 1 additions and 1 deletions

View File

@ -26,5 +26,5 @@ def current_tag(pl, flags='s'):
.. _`official documentation`: https://github.com/majutsushi/tagbar/blob/master/doc/tagbar.txt
'''
if not int(vim.eval('exists(":Tagbar")')):
return
return None
return vim.eval('tagbar#currenttag("%s", "", "{0}")'.format(flags))