1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Catch error message from u/e ctags variants

Co-authored-by: Steven Engler <sengler@uwaterloo.ca>
This commit is contained in:
Caleb Maclennan
2020-05-29 21:55:11 +03:00
parent 92752b89ce
commit e8d127bf40

View File

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