mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-03-05 14:44:15 +08:00
Added a vim-gutentags extension
Added a segment that displays whether gutentags is running a ctags instance.
This commit is contained in:
committed by
Christian Brabandt
parent
fb85c0a91a
commit
724beb0c73
@@ -307,6 +307,11 @@ function! airline#extensions#load()
|
||||
call add(loaded_ext, 'capslock')
|
||||
endif
|
||||
|
||||
if (get(g:, 'airline#extensions#gutentags#enabled', 1) && get(g:, 'loaded_gutentags', 0))
|
||||
call airline#extensions#gutentags#init(s:ext)
|
||||
call add(loaded_ext, 'gutentags')
|
||||
endif
|
||||
|
||||
if (get(g:, 'airline#extensions#xkblayout#enabled', 1) && exists('g:XkbSwitchLib'))
|
||||
call airline#extensions#xkblayout#init(s:ext)
|
||||
call add(loaded_ext, 'xkblayout')
|
||||
|
||||
Reference in New Issue
Block a user