mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-13 00:00:15 +08:00
Add gen_tags.vim plugin support
Display a "Gen. gen_tags" text in section x when gen_tags is generating tags, similar to gutentags support.
This commit is contained in:
1 parent
83bd08a97a
commit
42b31b966b
6 files changed
+34
-2
No files matched your search
@@ -408,6 +408,11 @@ function! airline#extensions#load()
|
||||
call add(s:loaded_ext, 'gutentags')
|
||||
endif
|
||||
|
||||
if get(g:, 'airline#extensions#gen_tags#enabled', 1) && (get(g:, 'loaded_gentags#gtags', 0) || get(g:, 'loaded_gentags#ctags', 0))
|
||||
call airline#extensions#gen_tags#init(s:ext)
|
||||
call add(s:loaded_ext, 'gen_tags')
|
||||
endif
|
||||
|
||||
if (get(g:, 'airline#extensions#grepper#enabled', 1) && get(g:, 'loaded_grepper', 0))
|
||||
call airline#extensions#grepper#init(s:ext)
|
||||
call add(s:loaded_ext, 'grepper')
|
||||
|
||||
Reference in new issue
Block a user