mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-05 08:30:03 +08:00
fix statusline not getting updated with some plugins (#91).
This commit is contained in:
parent
dcc0c7c84b
commit
c00cd767d0
|
@ -29,7 +29,7 @@ function! airline#extensions#apply_window_overrides()
|
||||||
if &ft == 'netrw'
|
if &ft == 'netrw'
|
||||||
call s:override_left_only('netrw', '%f')
|
call s:override_left_only('netrw', '%f')
|
||||||
elseif &ft == 'unite'
|
elseif &ft == 'unite'
|
||||||
call s:override_left_only('Unite', unite#get_status_string())
|
call s:override_left_only('Unite', '%{unite#get_status_string()}')
|
||||||
elseif &ft == 'nerdtree'
|
elseif &ft == 'nerdtree'
|
||||||
call s:override_left_only('NERD', '')
|
call s:override_left_only('NERD', '')
|
||||||
elseif &ft == 'undotree'
|
elseif &ft == 'undotree'
|
||||||
|
@ -41,9 +41,9 @@ function! airline#extensions#apply_window_overrides()
|
||||||
elseif &ft == 'tagbar'
|
elseif &ft == 'tagbar'
|
||||||
call s:override_left_only('Tagbar', '')
|
call s:override_left_only('Tagbar', '')
|
||||||
elseif &ft == 'vimshell'
|
elseif &ft == 'vimshell'
|
||||||
call s:override_left_only('vimshell', vimshell#get_status_string())
|
call s:override_left_only('vimshell', '%{vimshell#get_status_string()}')
|
||||||
elseif &ft == 'vimfiler'
|
elseif &ft == 'vimfiler'
|
||||||
call s:override_left_only('vimfiler', vimfiler#get_status_string())
|
call s:override_left_only('vimfiler', '%{vimfiler#get_status_string()}')
|
||||||
elseif &ft == 'minibufexpl'
|
elseif &ft == 'minibufexpl'
|
||||||
call s:override_left_only('MiniBufExplorer', '')
|
call s:override_left_only('MiniBufExplorer', '')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user