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