Fix #171 - Implement basic error highlighting

This commit is contained in:
w0rp
2017-02-13 00:18:51 +00:00
parent a995daa827
commit 3aa1d57b57
8 changed files with 168 additions and 11 deletions

View File

@@ -10,6 +10,11 @@ function! ale#cleanup#Buffer(buffer) abort
call ale#engine#ClearJob(l:job)
endfor
" Clear delayed highlights for a buffer being removed.
if g:ale_set_highlights
call ale#highlight#UnqueueHighlights(a:buffer)
endif
call remove(g:ale_buffer_info, a:buffer)
endif
endfunction