diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 50f1b04..2d0fe2e 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -1601,6 +1601,11 @@ function! s:ProcessFile(fname, ftype) call s:LogDebugMessage('Parsing ctags output') let rawtaglist = split(ctags_output, '\n\+') for line in rawtaglist + " skip comments + if line =~# '^!_TAG_' + continue + endif + let parts = split(line, ';"') if len(parts) == 2 " Is a valid tag line let taginfo = s:ParseTagline(parts[0], parts[1], typeinfo, fileinfo)