init: rename variable
This commit is contained in:
parent
c2b2351d99
commit
5fc5a43802
|
@ -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]
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue