Added a vim-gutentags extension

Added a segment that displays whether gutentags is running a ctags
instance.
This commit is contained in:
Ingo Heimbach authored and Christian Brabandt committed 2018-03-15 22:05:16 +01:00
1 parent fb85c0a91a
commit 724beb0c73
5 files changed
+30 -2

No files matched your search

+2 -1
View File
@@ -149,6 +149,7 @@ function! airline#init#bootstrap()
\ 'ycm_error_count', 'ycm_warning_count', 'neomake_error_count',
\ 'neomake_warning_count', 'ale_error_count', 'ale_warning_count'])
call airline#parts#define_text('capslock', '')
call airline#parts#define_text('gutentags', '')
call airline#parts#define_text('xkblayout', '')
call airline#parts#define_text('keymap', '')
@@ -180,7 +181,7 @@ function! airline#init#sections()
let g:airline_section_gutter = airline#section#create(['%='])
endif
if !exists('g:airline_section_x')
let g:airline_section_x = airline#section#create_right(['tagbar', 'filetype'])
let g:airline_section_x = airline#section#create_right(['tagbar', 'gutentags', 'filetype'])
endif
if !exists('g:airline_section_y')
let g:airline_section_y = airline#section#create_right(['ffenc'])