Mercurial > vim
view runtime/keymap/hebrew.vim @ 28275:f0e46f5bb2e7 v8.2.4663
patch 8.2.4663: occasional crash when running the GUI tests
Commit: https://github.com/vim/vim/commit/17fa233f6f88587d35310b76f48c5a26642c470a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 1 19:44:47 2022 +0100
patch 8.2.4663: occasional crash when running the GUI tests
Problem: Occasional crash when running the GUI tests.
Solution: Check that the line index is not too high. (closes https://github.com/vim/vim/issues/8681)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Apr 2022 20:45:05 +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/hebrew_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrew_cp1255.vim else source <sfile>:p:h/hebrew_iso-8859-8.vim endif