mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-17 05:49:47 +08:00
add ALEToggle command (#303)
* add ALEToggle command * stop active jobs when toggled off * small logic cleanup & ensure ale can be ran manually while toggled off
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
|
||||
" Update the buffer error/warning count with data from loclist.
|
||||
function! ale#statusline#Update(buffer, loclist) abort
|
||||
if !has_key(g:ale_buffer_info, a:buffer)
|
||||
return
|
||||
endif
|
||||
|
||||
let l:errors = 0
|
||||
let l:warnings = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user