]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge pull request #72 from antoinemadec/no_blink
authorVincent Driessen <me@nvie.com>
Fri, 21 Sep 2018 06:38:35 +0000 (08:38 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Sep 2018 06:38:35 +0000 (08:38 +0200)
Prevent terminal from blinking

1  2 
autoload/flake8.vim

index d21664ea5f16ebecaeadaefa9770eb8fe7277732,e360e7f53e82c698315c13a678356b9d9feea6ef..cf592cf7247764fcbe504101123ec695b048b53d
@@@ -132,9 -134,12 +134,11 @@@ function! s:Flake8()  " {{
      endif
  
      set lazyredraw   " delay redrawing
 -    cclose           " close any existing cwindows
  
-     " set shellpipe to > instead of tee (suppressing output)
+     " prevent terminal from blinking
      set shellpipe=>
+     set t_ti=
+     set t_te=
  
      " perform the grep itself
      let &grepformat="%f:%l:%c: %m\,%f:%l: %m"