view runtime/keymap/hebrewp.vim @ 23744:fc031340f8f9 v8.2.2413

patch 8.2.2413: crash when using :all while using a cmdline window Commit: https://github.com/vim/vim/commit/bb4b93ed85726c3921596ca267f531c8c94d819a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 26 21:35:08 2021 +0100 patch 8.2.2413: crash when using :all while using a cmdline window Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal) Solution: Disallow :all from the cmdline window.
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Jan 2021 21:45:04 +0100
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