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:
Christian Brabandt
2017-08-23 18:10:59 +02:00
parent 06272275b5
commit b77f326b33
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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'))