.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 39ca62d..7bb96e2 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