From: Vincent Driessen Date: Fri, 21 Sep 2018 06:38:35 +0000 (+0200) Subject: Merge pull request #72 from antoinemadec/no_blink X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/d50b3715ef386e4d998ff85dad6392110536478d?hp=93bbb34762a39129d1d3c5b606a9ebecd045758c Merge pull request #72 from antoinemadec/no_blink Prevent terminal from blinking --- 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