X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/93bbb34762a39129d1d3c5b606a9ebecd045758c..d50b3715ef386e4d998ff85dad6392110536478d:/autoload/flake8.vim?ds=sidebyside diff --git a/autoload/flake8.vim b/autoload/flake8.vim index e360e7f..cf592cf 100644 --- a/autoload/flake8.vim +++ b/autoload/flake8.vim @@ -134,7 +134,6 @@ function! s:Flake8() " {{{ endif set lazyredraw " delay redrawing - cclose " close any existing cwindows " prevent terminal from blinking set shellpipe=> @@ -145,6 +144,9 @@ function! s:Flake8() " {{{ let &grepformat="%f:%l:%c: %m\,%f:%l: %m" let &grepprg=s:flake8_cmd silent! grep! "%" + " close any existing cwindows, + " placed after 'grep' in case quickfix is open on autocmd QuickFixCmdPost + cclose " restore grep settings let &grepformat=l:old_gfm