Mercurial > vim
view runtime/keymap/hebrew.vim @ 17409:e24bbd061233 v8.1.1703
patch 8.1.1703: breaking out of loop by checking window pointer insufficient
commit https://github.com/vim/vim/commit/61386408063a2300d7d7f42c5156f66f6252fb54
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 16 21:19:55 2019 +0200
patch 8.1.1703: breaking out of loop by checking window pointer insufficient
Problem: Breaking out of loop by checking window pointer is insufficient.
Solution: Check the window ID and the buffer number. (closes https://github.com/vim/vim/issues/4683)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Jul 2019 21:30: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