diff --git a/autoload/airline.vim b/autoload/airline.vim index 792a971..1a64b13 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -82,8 +82,8 @@ function! s:get_statusline(winnr, active) let sl.=s:get_section(a:winnr, 'b') let sl.=l:info_sep_color let sl.=g:airline_left_sep - let sl.=l:status_color.s:get_section(a:winnr, 'c', ' %<') - let sl.=l:file_flag_color." %{&ro ? g:airline_readonly_symbol : ''}".l:status_color + let sl.=l:status_color.'%<'.s:get_section(a:winnr, 'c') + let sl.=' '.l:file_flag_color."%(%{&ro ? g:airline_readonly_symbol : ''}%)".l:status_color let sl.=s:get_section(a:winnr, 'gutter', '', '') let sl.=l:status_color else diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index 775d4b3..cd2b880 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -66,6 +66,8 @@ function! airline#extensions#apply_window_overrides() call airline#extensions#apply_left_override('vimfiler', '%{vimfiler#get_status_string()}') elseif &ft == 'minibufexpl' call airline#extensions#apply_left_override('MiniBufExplorer', '') + elseif &ft == 'startify' + call airline#extensions#apply_left_override('startify', '') endif endfunction