view runtime/keymap/hebrew.vim @ 19421:208644ebdff8 v8.2.0268

patch 8.2.0268: trycatch test fails Commit: https://github.com/vim/vim/commit/40d9da2a4395025169ebaf53a63618adfa737e96 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 17 10:01:24 2020 +0100 patch 8.2.0268: trycatch test fails Problem: Trycatch test fails. Solution: When calling function fails only check for following command, do not give another error.
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Feb 2020 10:15: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/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