diff --git a/autoload/airline/extensions/gutentags.vim b/autoload/airline/extensions/gutentags.vim index 1da48a5..4af2d78 100644 --- a/autoload/airline/extensions/gutentags.vim +++ b/autoload/airline/extensions/gutentags.vim @@ -8,7 +8,8 @@ if !get(g:, 'loaded_gutentags', 0) endif function! airline#extensions#gutentags#status() - return gutentags#statusline() =~# '^TAGS' ? 'Gen. tags' : '' + let msg = gutentags#statusline() + return empty(msg) ? '' : 'Gen. ' . msg endfunction function! airline#extensions#gutentags#init(ext)