mirror of
https://github.com/vim-airline/vim-airline-themes
synced 2025-02-20 20:06:58 +00:00
add unite.vim support, using window local overrides
This commit is contained in:
parent
3d3e4cefbd
commit
9cc1495c23
@ -1,4 +1,10 @@
|
|||||||
function! airline#extensions#load()
|
function! airline#extensions#load()
|
||||||
|
let g:unite_force_overwrite_statusline = 0
|
||||||
|
autocmd FileType unite
|
||||||
|
\ let w:airline_section_a = 'Unite'
|
||||||
|
\ | let w:airline_section_b = unite#get_status_string()
|
||||||
|
\ | call airline#update_statusline(1)
|
||||||
|
|
||||||
if exists('g:loaded_ctrlp') && g:loaded_ctrlp
|
if exists('g:loaded_ctrlp') && g:loaded_ctrlp
|
||||||
call airline#extensions#ctrlp#load_ctrlp_hi()
|
call airline#extensions#ctrlp#load_ctrlp_hi()
|
||||||
let g:ctrlp_status_func = {
|
let g:ctrlp_status_func = {
|
||||||
|
Loading…
Reference in New Issue
Block a user