From 08cfd5f90c8113f4db25f60833b690665046b495 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 3 Mar 2018 16:22:56 +0000 Subject: Close #1379 - Increment b:ale_linted when a buffer is checked --- autoload/ale/engine.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'autoload') diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim index 9ef3ba39..6ccc3a34 100644 --- a/autoload/ale/engine.vim +++ b/autoload/ale/engine.vim @@ -321,6 +321,12 @@ function! ale#engine#SetResults(buffer, loclist) abort " Reset the save event marker, used for opening windows, etc. call setbufvar(a:buffer, 'ale_save_event_fired', 0) + " Set a marker showing how many times a buffer has been checked. + call setbufvar( + \ a:buffer, + \ 'ale_linted', + \ getbufvar(a:buffer, 'ale_linted', 0) + 1 + \) " Automatically remove all managed temporary files and directories " now that all jobs have completed. -- cgit v1.2.3