]> git.phdru.name Git - dotfiles.git/commitdiff
.vimrc: Remove excessive `redraw`
authorOleg Broytman <phd@phdru.name>
Sun, 5 Apr 2020 14:40:47 +0000 (17:40 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 5 Apr 2020 14:40:47 +0000 (17:40 +0300)
In `vim` 8.1 it causes strange on-screen effects.

.vimrc

diff --git a/.vimrc b/.vimrc
index 39ca62d8bace29996bcb3dfe95aab026ab8658be..7bb96e27e7398e5b2ebf9ac7c63e4b2b12331c42 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -713,8 +713,6 @@ command! Text call Text()
 function! AutoEncoding()
   if &modified && &fileencoding != ""
     call SetupEncoding(&fileencoding)
-  else
-    redraw
   endif
   autocmd! auto-encoding
   augroup! auto-encoding