fixes intro screen getting clobbered. resolves #68.
This commit is contained in:
parent
c45e1bcf10
commit
07a8bc6258
@ -1,5 +1,6 @@
|
|||||||
" vim: ts=2 sts=2 sw=2 fdm=indent
|
" vim: ts=2 sts=2 sw=2 fdm=indent
|
||||||
let s:is_win32term = (has('win32') || has('win64')) && !has('gui_running')
|
let s:is_win32term = (has('win32') || has('win64')) && !has('gui_running')
|
||||||
|
let s:lastmode = ''
|
||||||
|
|
||||||
let s:airline_highlight_map = {
|
let s:airline_highlight_map = {
|
||||||
\ 'mode' : 'Al2',
|
\ 'mode' : 'Al2',
|
||||||
@ -31,7 +32,8 @@ function! airline#load_theme(name)
|
|||||||
let g:airline_theme = a:name
|
let g:airline_theme = a:name
|
||||||
let inactive_colors = g:airline#themes#{g:airline_theme}#inactive "also lazy loads the theme
|
let inactive_colors = g:airline#themes#{g:airline_theme}#inactive "also lazy loads the theme
|
||||||
call airline#highlight(['inactive'], '_inactive')
|
call airline#highlight(['inactive'], '_inactive')
|
||||||
call airline#highlight(['normal'])
|
let s:lastmode = ''
|
||||||
|
call airline#update_highlight()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#highlight(modes, ...)
|
function! airline#highlight(modes, ...)
|
||||||
@ -143,7 +145,6 @@ function! airline#update_statusline(active)
|
|||||||
call setwinvar(winnr(), '&statusline', sl)
|
call setwinvar(winnr(), '&statusline', sl)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let s:lastmode = ''
|
|
||||||
let g:airline_current_mode_text = ''
|
let g:airline_current_mode_text = ''
|
||||||
function! airline#update_highlight()
|
function! airline#update_highlight()
|
||||||
let l:m = mode()
|
let l:m = mode()
|
||||||
|
@ -28,7 +28,7 @@ function! airline#extensions#apply_window_overrides()
|
|||||||
elseif &ft == 'diff'
|
elseif &ft == 'diff'
|
||||||
call s:override_left_only('diff', '')
|
call s:override_left_only('diff', '')
|
||||||
elseif &ft == 'tagbar'
|
elseif &ft == 'tagbar'
|
||||||
call s:override_left_only('tagbar', '')
|
call s:override_left_only('Tagbar', '')
|
||||||
elseif &ft == 'minibufexpl'
|
elseif &ft == 'minibufexpl'
|
||||||
call s:override_left_only('MiniBufExplorer', '')
|
call s:override_left_only('MiniBufExplorer', '')
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user