diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index fe43977..baf30d3 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -221,7 +221,7 @@ if g:airline#init#async endfunction function! s:get_vcs_untracked_async(config, file) - if g:airline#util#is_windows && &shell =~ 'cmd' + if g:airline#init#is_windows && &shell =~ 'cmd' let cmd = a:config['cmd'] . shellescape(a:file) else let cmd = ['sh', '-c', a:config['cmd'] . shellescape(a:file)] @@ -259,7 +259,7 @@ if g:airline#init#async endfunction function! s:get_mq_async(cmd, file) - if g:airline#util#is_windows && &shell =~ 'cmd' + if g:airline#init#is_windows && &shell =~ 'cmd' let cmd = a:cmd else let cmd = ['sh', '-c', a:cmd] diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index 4ee6fdb..2ef6a05 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -19,7 +19,7 @@ function! airline#init#bootstrap() let g:airline#init#bootstrapping = 1 let g:airline#init#async = (has("nvim") || (v:version >= 800 && has('job'))) - let g:airline#util#is_windows = has('win32') || has('win64') + let g:airline#init#is_windows = has('win32') || has('win64') call s:check_defined('g:airline_detect_modified', 1) call s:check_defined('g:airline_detect_paste', 1)