mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-12 15:50:13 +08:00
improved unite integration (#165).
This commit is contained in:
1 parent
53b856b0c5
commit
74849d4a10
3 files changed
+22
-4
No files matched your search
@@ -13,7 +13,6 @@ let s:script_path = expand('<sfile>:p:h')
|
||||
|
||||
let s:filetype_overrides = {
|
||||
\ 'netrw': [ 'netrw', '%f' ],
|
||||
\ 'unite': [ 'Unite', '%{unite#get_status_string()}' ],
|
||||
\ 'nerdtree': [ 'NERD', '' ],
|
||||
\ 'gundo': [ 'Gundo', '' ],
|
||||
\ 'diff': [ 'diff', '' ],
|
||||
@@ -110,7 +109,7 @@ function! airline#extensions#load()
|
||||
call airline#add_statusline_func('airline#extensions#update_statusline')
|
||||
|
||||
if get(g:, 'loaded_unite', 0)
|
||||
let g:unite_force_overwrite_statusline = 0
|
||||
call airline#extensions#unite#init(s:ext)
|
||||
endif
|
||||
|
||||
if get(g:, 'loaded_vimfiler', 0)
|
||||
|
||||
Reference in new issue
Block a user