mirror of
https://github.com/dense-analysis/ale
synced 2024-12-13 18:06:15 +00:00
Check the active_linter_list only for running linters
This commit is contained in:
parent
cfdb41f4d2
commit
fbf59fd4ce
@ -52,8 +52,7 @@ endfunction
|
|||||||
function! ale#engine#IsCheckingBuffer(buffer) abort
|
function! ale#engine#IsCheckingBuffer(buffer) abort
|
||||||
let l:info = get(g:ale_buffer_info, a:buffer, {})
|
let l:info = get(g:ale_buffer_info, a:buffer, {})
|
||||||
|
|
||||||
return get(l:info, 'waiting_for_tsserver') == 1
|
return !empty(get(l:info, 'active_linter_list', []))
|
||||||
\|| !empty(get(l:info, 'job_list'))
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Register a temporary file to be managed with the ALE engine for
|
" Register a temporary file to be managed with the ALE engine for
|
||||||
|
Loading…
Reference in New Issue
Block a user