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:
@@ -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