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)