mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-25 01:38:34 +08:00
async: rename variable
rename g:airline#init#async variable to g:airline#init#vim_async because that is what it is for: showing whether vim supports async. Is not set vor nvim, because nvim always supports jobs.
This commit is contained in:
@@ -25,7 +25,7 @@ function! airline#extensions#po#stats()
|
||||
endif
|
||||
|
||||
let cmd = 'msgfmt --statistics -o /dev/null -- '
|
||||
if g:airline#init#async
|
||||
if g:airline#init#vim_async
|
||||
call airline#async#get_msgfmt_stat(cmd, expand('%:p'))
|
||||
elseif has("nvim")
|
||||
call airline#async#nvim_get_msgfmt_stat(cmd, expand('%:p'))
|
||||
|
||||
Reference in New Issue
Block a user