X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/00f4848e6305814c0d3491560737b492a905c7c8..cb3a235fdfba6a9703172c9693a9bd0f89897279:/autoload/flake8.vim?ds=inline 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