From a566f7141f15b6aa62fd78e8f9a342914a21ee6f Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Sat, 24 Aug 2013 17:40:12 +1200 Subject: [PATCH] Echo message if ctags output is empty --- autoload/tagbar.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 572de9e..2bb123c 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -1092,6 +1092,8 @@ function! s:CtagsErrMsg(errmsg, infomsg, silent, ...) abort for line in split(ctags_output, '\n') echomsg line endfor + else + echomsg 'Command output is empty.' endif endif endfunction