Update the ALE extension so it loads better and uses the new count format

This commit is contained in:
w0rp
2017-06-25 19:49:18 +01:00
parent e7d18fe427
commit c8a5efc11e
2 changed files with 23 additions and 24 deletions

View File

@@ -240,7 +240,7 @@ function! airline#extensions#load()
call add(loaded_ext, 'syntastic')
endif
if (get(g:, 'airline#extensions#ale#enabled', 1) && exists('g:loaded_ale'))
if (get(g:, 'airline#extensions#ale#enabled', 1) && exists(':ALELint'))
call airline#extensions#ale#init(s:ext)
call add(loaded_ext, 'ale')
endif