Skip to content
Browse files

Fixed the problem with closing the Errors window and then wanting to

re-open it.  This error occurs when g:syntastic_auto_loc_list is
enabled.
  • Loading branch information...
1 parent aebfc62 commit e30ee7ce8b9978598a81e8d4f4d384cd326cd24a @milkypostman milkypostman committed with scrooloose Jan 11, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugin/syntastic.vim
View
3 plugin/syntastic.vim
@@ -45,6 +45,9 @@ runtime! syntax_checkers/*.vim
"refresh and redraw all the error info for this buf when saving or reading
autocmd bufreadpost,bufwritepost * call s:UpdateErrors()
function! s:UpdateErrors()
+ if &buftype == 'quickfix'
+ return
+ endif
call s:CacheErrors()
if g:syntastic_enable_signs

0 comments on commit e30ee7c

Please sign in to comment.
Something went wrong with that request. Please try again.