[[B]Tags] Proceed to the next command if the output is empty

Close #375
This commit is contained in:
Junegunn Choi 2017-05-20 01:52:19 +09:00
parent d99169da2d
commit 536b6ace35
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627

View file

@ -657,7 +657,7 @@ function! s:btags_source(tag_cmds)
for cmd in a:tag_cmds
let lines = split(system(cmd), "\n")
if !v:shell_error
if !v:shell_error && len(lines)
break
endif
endfor