mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-06 21:50:36 +02:00
Save new empty object for file if ctags output is empty, closes #57
This commit is contained in:
1 parent
cca0f7798e
commit
392de7da25
1 file changed
+3
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user