async: Better check for nvim

closes neovim/neovim#7186
This commit is contained in:
Christian Brabandt
2017-08-21 21:23:34 +02:00
parent 470e9870f1
commit c2b2351d99
3 changed files with 7 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ function! airline#init#bootstrap()
let g:airline#init#bootstrapping = 1
let g:airline#util#async = v:version >= 800 && has('job')
let g:airline#init#async = (has("nvim") || (v:version >= 800 && has('job')))
let g:airline#util#is_windows = has('win32') || has('win64')
call s:check_defined('g:airline_detect_modified', 1)