[BTags] Capitalize error message

This commit is contained in:
Junegunn Choi
2015-09-20 23:50:28 +09:00
parent 200708311c
commit 034457333f

View File

@@ -379,7 +379,7 @@ function! s:btags_source()
\ 'ctags -f - --sort=no --excmd=number --language-force=%s %s',
\ &filetype, expand('%:S'))), "\n"), 'split(v:val, "\t")')
if v:shell_error
throw 'failed to extract tags'
throw 'Failed to extract tags'
endif
return map(s:align_lists(lines), 'join(v:val, "\t")')
endfunction