[add] unite and denite's config

[add] document
This commit is contained in:
kazukazuinaina 2020-05-29 17:19:37 +09:00
parent 3fa0e0ce0c
commit b929452f32
2 changed files with 6 additions and 4 deletions

View File

@ -150,12 +150,12 @@ function! airline#extensions#load()
call airline#extensions#quickfix#init(s:ext)
call add(s:loaded_ext, 'quickfix')
if get(g:, 'loaded_unite', 0)
if get(g:, 'loaded_unite', 0) && get(g:, 'airline#extensions#unite#enabled', 1)
call airline#extensions#unite#init(s:ext)
call add(s:loaded_ext, 'unite')
endif
if get(g:, 'loaded_denite', 0)
if get(g:, 'loaded_denite', 0) && get(g:, 'airline#extensions#denite#enabled', 1)
call airline#extensions#denite#init(s:ext)
call add(s:loaded_ext, 'denite')
endif

View File

@ -697,7 +697,8 @@ you can use.
------------------------------------- *airline-denite*
Denite <https://github.com/Shougo/denite.nvim>
No configuration available.
* enable/disable denite integration >
let g:airline#extensions#denite#enabled = 1
------------------------------------- *airline-eclim*
eclim <https://eclim.org>
@ -1257,7 +1258,8 @@ No configuration available.
------------------------------------- *airline-unite*
Unite <https://github.com/Shougo/unite.vim>
No configuration available.
* enable/disable unite integration >
let g:airline#extensions#unite#enabled = 1
------------------------------------- *airline-vimagit*
vimagit <https://github.com/jreybert/vimagit>