fix regression with ctrlp statusline not changing.

This commit is contained in:
Bailey Ling 2013-09-01 19:19:34 +00:00
parent c994d08a6d
commit 7171a169f3
4 changed files with 3 additions and 2 deletions

View File

@ -67,8 +67,6 @@ function! airline#init#bootstrap()
call airline#parts#define_raw('file', '%f%m')
call airline#parts#define_raw('ffenc', '%{printf("%s%s",&fenc,strlen(&ff)>0?"[".&ff."]":"")}')
call airline#parts#define_empty(['hunks', 'branch', 'tagbar', 'syntastic'])
call airline#extensions#load()
endfunction
function! airline#init#sections()

View File

@ -15,6 +15,7 @@ function! s:init()
let s:airline_initialized = 1
call airline#init#bootstrap()
call airline#extensions#load()
call airline#init#sections()
let s:airline_theme_defined = exists('g:airline_theme')

View File

@ -12,6 +12,7 @@ describe 'commands'
end
it 'should toggle whitespace off and on'
call airline#extensions#load()
execute 'AirlineToggleWhitespace'
Expect exists('#airline_whitespace') to_be_false
execute 'AirlineToggleWhitespace'

View File

@ -1,4 +1,5 @@
call airline#init#bootstrap()
call airline#extensions#load()
function! SectionSpec()
endfunction