1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 19:40:27 +01:00

Save new empty object for file if ctags output is empty, closes #57

This commit is contained in:
Jan Larres
2012-02-01 00:21:28 +13:00
parent cca0f7798e
commit 392de7da25

View File

@@ -1617,6 +1617,9 @@ function! s:ProcessFile(fname, ftype)
return
elseif ctags_output == ''
call s:LogDebugMessage('Ctags output empty')
" No need to go through the tag processing if there are no tags, and
" preserving the old fold state also isn't necessary
call s:known_files.put(s:FileInfo.New(a:fname, a:ftype), a:fname)
return
endif