From bc4db62404092e8e0c1f9a27d7ce9dbdcdfa974f Mon Sep 17 00:00:00 2001 From: eistaa Date: Thu, 25 Sep 2014 11:35:24 +0200 Subject: [PATCH 1/1] Remove markers before checking. --- autoload/flake8.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/autoload/flake8.vim b/autoload/flake8.vim index a610f40..de9633e 100644 --- a/autoload/flake8.vim +++ b/autoload/flake8.vim @@ -93,6 +93,11 @@ function! s:Flake8() " {{{ return endif + " clear old + call s:UnplaceMarkers() + let s:matchids = [] + let s:signids = [] + " store old grep settings (to restore later) let l:old_gfm=&grepformat let l:old_gp=&grepprg @@ -161,11 +166,6 @@ function! s:PlaceMarkers(results) " {{{ endfor endif - " clear old - call s:UnplaceMarkers() - let s:matchids = [] - let s:signids = [] - " place let l:index0 = 100 let l:index = l:index0 -- 2.39.5