]> git.phdru.name Git - dotfiles.git/commitdiff
Revert ".vimrc: Set universal encoding for .viminfo"
authorOleg Broytman <phd@phdru.name>
Tue, 4 Jun 2019 22:19:09 +0000 (01:19 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 4 Jun 2019 22:19:09 +0000 (01:19 +0300)
This reverts commit cf1fcbf3b80158230383b27776ca768899b3a52b.

.vimrc

diff --git a/.vimrc b/.vimrc
index ab92bd46f9f0723c51a09c5c6d7c376509098253..ddcc499e7c7eae18ed621244a1ce718a19db9317 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -795,15 +795,5 @@ command! UName Uname
 endif
 " ----------
 
-" if has("iconv")
-" function! SetViminfoEncoding()
-"    " Set universal encoding for .viminfo
-"    if &encoding != 'utf-8'
-"       set encoding=utf-8
-"    endif
-" endfunction
-" autocmd VimLeavePre * call SetViminfoEncoding()
-" endif
-
 " This has to go to the very end of ~/.vimrc to allow reading the .vimrc
 set secure        " safer working with script files in the current directory