Mercurial > vim
view runtime/keymap/hebrewp.vim @ 17630:380adf86bf66 v8.1.1812
patch 8.1.1812: reading a truncted undo file hangs Vim
commit https://github.com/vim/vim/commit/fb06d767a8d76eead5391302fc88115d6e3879d8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 4 18:55:35 2019 +0200
patch 8.1.1812: reading a truncted undo file hangs Vim
Problem: Reading a truncted undo file hangs Vim.
Solution: Check for reading EOF. (closes https://github.com/vim/vim/issues/4769)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Aug 2019 19:00:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-8' else let encoding = 'cp1255' endif endif if encoding == 'utf-8' source <sfile>:p:h/hebrewp_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrewp_cp1255.vim else source <sfile>:p:h/hebrewp_iso-8859-8.vim endif