vista: init extension on VimEnter

closes #2009
This commit is contained in:
Christian Brabandt
2019-12-13 08:55:56 +01:00
parent 30725e6eb2
commit e395afed51
3 changed files with 11 additions and 2 deletions

View File

@@ -232,6 +232,7 @@ function! airline#extensions#load()
endif
if get(g:, 'airline#extensions#vista#enabled', 1)
\ && exists(':Vista')
call airline#extensions#vista#init(s:ext)
call add(s:loaded_ext, 'vista')
endif

View File

@@ -1,5 +1,5 @@
" MIT License. Copyright (c) 2019 s1341 (github@shmarya.net)
" Plugin: https://github.com/liuchngxu/vista.vim
" Plugin: https://github.com/liuchengxu/vista.vim
" vim: et ts=2 sts=2 sw=2
scriptencoding utf-8