From fbf59fd4ce4ffdb3a0a51fc3c3a672ac49d0a8f9 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 26 Jul 2017 10:44:27 +0100 Subject: Check the active_linter_list only for running linters --- autoload/ale/engine.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'autoload') diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim index f3ac30c0..8bef01d7 100644 --- a/autoload/ale/engine.vim +++ b/autoload/ale/engine.vim @@ -52,8 +52,7 @@ endfunction function! ale#engine#IsCheckingBuffer(buffer) abort let l:info = get(g:ale_buffer_info, a:buffer, {}) - return get(l:info, 'waiting_for_tsserver') == 1 - \|| !empty(get(l:info, 'job_list')) + return !empty(get(l:info, 'active_linter_list', [])) endfunction " Register a temporary file to be managed with the ALE engine for -- cgit v1.2.3