From: eistaa Date: Thu, 25 Sep 2014 09:35:24 +0000 (+0200) Subject: Remove markers before checking. X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/bc4db62404092e8e0c1f9a27d7ce9dbdcdfa974f?ds=inline;hp=--cc Remove markers before checking. --- bc4db62404092e8e0c1f9a27d7ce9dbdcdfa974f 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