mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-01-19 10:42:46 +08:00
fix regression with ctrlp statusline not changing.
This commit is contained in:
parent
c994d08a6d
commit
7171a169f3
|
@ -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()
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
call airline#init#bootstrap()
|
||||
call airline#extensions#load()
|
||||
|
||||
function! SectionSpec()
|
||||
endfunction
|
||||
|
|
Loading…
Reference in New Issue
Block a user