Reduce sign column juttering by waiting for all jobs to complete before updating everything.

This commit is contained in:
w0rp
2016-10-31 13:45:22 +00:00
parent f44756f347
commit cb410927d1
2 changed files with 19 additions and 12 deletions

View File

@@ -30,8 +30,8 @@ function! ale#Lint(...) abort
" Initialise the buffer information if needed.
call ale#engine#InitBufferInfo(l:buffer)
" Set a variable telling us to clear the loclist later.
let g:ale_buffer_info[l:buffer].should_reset = 1
" Clear the new loclist again, so we will work with all new items.
let g:ale_buffer_info[l:buffer].new_loclist = []
for l:linter in l:linters
" Check if a given linter has a program which can be executed.