diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index d948e6b..0f67dea 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -1367,7 +1367,7 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort let ctags_output = s:ExecuteCtags(ctags_cmd) - if v:shell_error || ctags_output =~? 'Warning: cannot open source file' + if v:shell_error || ctags_output =~? 'Warning: cannot open \(source\|input\) file' call tagbar#debug#log('Command output:') call tagbar#debug#log(ctags_output) call tagbar#debug#log('Exit code: ' . v:shell_error)