Merge pull request #2083 from kazukazuinaina/add_check_ale_extension_toggle

[add] check ale's toggle
This commit is contained in:
Christian Brabandt 2020-03-02 13:04:25 +01:00 committed by GitHub
commit 418fb24982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@
scriptencoding utf-8 scriptencoding utf-8
if !get(g:, 'loaded_ale_dont_use_this_in_other_plugins_please', 0)
finish
endif
function! s:airline_ale_count(cnt, symbol) function! s:airline_ale_count(cnt, symbol)
return a:cnt ? a:symbol. a:cnt : '' return a:cnt ? a:symbol. a:cnt : ''
endfunction endfunction