From 929f92ddd6dadbef47ee025223d10bbe95d46500 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Tue, 13 Aug 2013 17:48:37 +0300 Subject: [PATCH] Bug fix: allow loclist cleanup. --- plugin/syntastic.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 02ca11a6..fb788a3b 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -397,7 +397,7 @@ function! SyntasticMake(options) endif lgetexpr err_lines - let errors = getloclist(0) + let errors = copy(getloclist(0)) if has_key(a:options, 'cwd') exec 'lcd ' . fnameescape(old_cwd)