summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim
index 3e86c8f9..96588e59 100644
--- a/autoload/ale.vim
+++ b/autoload/ale.vim
@@ -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.